summaryrefslogtreecommitdiff
path: root/media-libs/libva-compat/files/libva-compat-1.8.3-missing-decl.patch
blob: 7689b217d0822bde33d18b2893cda262f1b37753 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Add missing parameters in declaration for C23
https://bugs.gentoo.org/944163
--- a/va/x11/va_nvctrl.c
+++ b/va/x11/va_nvctrl.c
@@ -130,7 +130,7 @@
 #define XNVCTRLSimpleCheckExtension(dpy,i) \
   XextSimpleCheckExtension (dpy, i, nvctrl_extension_name)

-static int close_display();
+static int close_display(Display *, XExtCodes *);
 static /* const */ XExtensionHooks nvctrl_extension_hooks = {
     NULL,                               /* create_gc */
     NULL,                               /* copy_gc */