summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/XIQueryDevice.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/XIQueryDevice.c b/src/XIQueryDevice.c
index 6c90b3e..ce8ddd1 100644
--- a/src/XIQueryDevice.c
+++ b/src/XIQueryDevice.c
@@ -29,6 +29,8 @@
#include <X11/extensions/extutil.h>
#include "XIint.h"
+int copy_classes(XIDeviceInfo* to, xXIAnyInfo* from, int nclasses);
+
/* Copy classes from any into to->classes and return the number of bytes
* copied. Memory layout of to->classes is
* [clsptr][clsptr][clsptr][classinfo][classinfo]...