summaryrefslogtreecommitdiff
path: root/src/Xfixes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Xfixes.c')
-rw-r--r--src/Xfixes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Xfixes.c b/src/Xfixes.c
index 30ae729..557b21d 100644
--- a/src/Xfixes.c
+++ b/src/Xfixes.c
@@ -24,6 +24,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
+#include <X11/Xfuncproto.h>
#include "Xfixesint.h"
XFixesExtInfo XFixesExtensionInfo;
@@ -203,7 +204,7 @@ XFixesFindDisplay (Display *dpy)
}
static int
-XFixesCloseDisplay (Display *dpy, XExtCodes *codes)
+XFixesCloseDisplay (Display *dpy, _X_UNUSED XExtCodes *codes)
{
return XFixesExtRemoveDisplay (&XFixesExtensionInfo, dpy);
}