diff options
author | Rhys Kidd <rhyskidd@gmail.com> | 2019-01-20 22:21:33 -0500 |
---|---|---|
committer | Ilia Mirkin <imirkin@alum.mit.edu> | 2019-01-20 23:01:13 -0500 |
commit | 0fa6ba423593cb5c8e43b8f6569f90f9fcc2b36c (patch) | |
tree | a39673046db1d35b1f21e5ca4720dcb739c2f45a | |
parent | 2905ea76571faed91e7d17b5dc6e44758e71ff0b (diff) | |
download | xorg-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.c | 2 |
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); |