summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-06-08 13:37:38 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-06-09 10:56:35 +1000
commit4a61fe9f05b8e7214303722dd12195488df9c599 (patch)
tree811fedc60ab5448474e91898f647ab2136ea6c70 /src
parent05531681e5175b823935e6bdfc53c9b5f63efc9d (diff)
Silence warning: missing prototype for copy_classes
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-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]...