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@xxxxxxxxx> --- src/nouveau_xv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.19.1 _______________________________________________ Nouveau mailing list Nouveau@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/nouveau