Fix FTBFS with gcc 15. This resolves issue 97

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1feaed7cc0)
pull/102/head
Michele Calgaro 11 months ago
parent dec3b5b60e
commit a568436706
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -38,8 +38,8 @@ static const char *nvctrl_extension_name = NV_CONTROL_NAME;
#define XNVCTRLSimpleCheckExtension(dpy,i) \
XextSimpleCheckExtension (dpy, i, nvctrl_extension_name)
static int close_display();
static Bool wire_to_event();
static int close_display(Display*, XExtCodes*);
static Bool wire_to_event(Display*, XEvent*, xEvent*);
static const XExtensionHooks nvctrl_extension_hooks = {
NULL, /* create_gc */
NULL, /* copy_gc */

Loading…
Cancel
Save