mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-08 22:25:42 +02:00
Fix missing function parameters for C23. Add upstream patch that deleted non-existent symbol from linking script for Clang/LLD Closes: https://bugs.gentoo.org/925671 Closes: https://bugs.gentoo.org/944163 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/41436 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
13 lines
509 B
Diff
13 lines
509 B
Diff
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 */
|