Fix build error of Linux SDL1 build

This commit is contained in:
maron2000
2025-05-09 09:15:20 +09:00
parent 921acaa291
commit d7ba3937a9
2 changed files with 2 additions and 2 deletions

View File

@@ -206,7 +206,7 @@ static char *xigmisc_extension_name = XIGMISC_PROTOCOL_NAME;
/*
* find_display - locate the display info block
*/
static int XiGMiscCloseDisplay();
static int XiGMiscCloseDisplay(Display *, XExtCodes *);
static XExtensionHooks xigmisc_extension_hooks = {
NULL, /* create_gc */

View File

@@ -50,7 +50,7 @@ static /* const */ char *panoramiX_extension_name = PANORAMIX_PROTOCOL_NAME;
#define PanoramiXSimpleCheckExtension(dpy,i) \
XextSimpleCheckExtension (dpy, i, panoramiX_extension_name)
static int close_display();
static int close_display(Display *, XExtCodes *);
static /* const */ XExtensionHooks panoramiX_extension_hooks = {
NULL, /* create_gc */
NULL, /* copy_gc */