summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRhys Kidd <rhyskidd@gmail.com>2019-01-20 22:21:33 -0500
committerIlia Mirkin <imirkin@alum.mit.edu>2019-01-20 23:01:13 -0500
commit0fa6ba423593cb5c8e43b8f6569f90f9fcc2b36c (patch)
treea39673046db1d35b1f21e5ca4720dcb739c2f45a
parent2905ea76571faed91e7d17b5dc6e44758e71ff0b (diff)
downloadxorg-driver-xf86-video-nouveau-0fa6ba423593cb5c8e43b8f6569f90f9fcc2b36c.tar.gz
xv: Mark local NVSetupTexturedVideo function as static
Avoids warning with gcc 8.2: nouveau_xv.c:2136:1: warning: no previous prototype for ‘NVSetupTexturedVideo’ [-Wmissing-prototypes] NVSetupTexturedVideo (ScreenPtr pScreen, XF86VideoAdaptorPtr *textureAdaptor) ^~~~~~~~~~~~~~~~~~~~ Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
-rw-r--r--src/nouveau_xv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nouveau_xv.c b/src/nouveau_xv.c
index ddb5a99..b2d75c5 100644
--- a/src/nouveau_xv.c
+++ b/src/nouveau_xv.c
@@ -2131,7 +2131,7 @@ NV50SetupTexturedVideo (ScreenPtr pScreen)
return adapt;
}
-void
+static void
NVSetupTexturedVideo (ScreenPtr pScreen, XF86VideoAdaptorPtr *textureAdaptor)
{
ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);