summaryrefslogtreecommitdiff
path: root/src/Xdamage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Xdamage.c')
-rw-r--r--src/Xdamage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Xdamage.c b/src/Xdamage.c
index 6b131a4..61fe4e6 100644
--- a/src/Xdamage.c
+++ b/src/Xdamage.c
@@ -25,6 +25,7 @@
#include <config.h>
#endif
#include "xdamageint.h"
+#include <X11/Xfuncproto.h>
XDamageExtInfo XDamageExtensionInfo;
@@ -204,7 +205,7 @@ XDamageFindDisplay (Display *dpy)
}
static int
-XDamageCloseDisplay (Display *dpy, XExtCodes *codes)
+XDamageCloseDisplay (Display *dpy, _X_UNUSED XExtCodes *codes)
{
return XDamageExtRemoveDisplay (&XDamageExtensionInfo, dpy);
}