summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Xcomposite.c2
-rw-r--r--src/xcompositeint.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Xcomposite.c b/src/Xcomposite.c
index 81cda1c..4208263 100644
--- a/src/Xcomposite.c
+++ b/src/Xcomposite.c
@@ -88,7 +88,7 @@ XCompositeExtRemoveDisplay (XCompositeExtInfo *extinfo, const Display *dpy)
}
static int
-XCompositeCloseDisplay (Display *dpy, XExtCodes *codes)
+XCompositeCloseDisplay (Display *dpy, _X_UNUSED XExtCodes *codes)
{
return XCompositeExtRemoveDisplay (&XCompositeExtensionInfo, dpy);
}
diff --git a/src/xcompositeint.h b/src/xcompositeint.h
index c2247bf..6e48105 100644
--- a/src/xcompositeint.h
+++ b/src/xcompositeint.h
@@ -46,6 +46,7 @@
#define _XCOMPOSITEINT_H_
#include <stdio.h>
+#include <X11/Xfuncproto.h>
#include <X11/Xlib.h>
#include <X11/Xlibint.h>
#include <X11/Xutil.h>