Signed-off-by: Peter Hutterer <[email protected]>
---
src/eventcomm.c | 2 +-
src/eventcomm.h | 6 ++++++
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/src/eventcomm.c b/src/eventcomm.c
index f55c88f..c32ceba 100644
--- a/src/eventcomm.c
+++ b/src/eventcomm.c
@@ -337,7 +337,7 @@ static int count_fingers(const struct CommData *comm)
}
-static Bool
+Bool
EventReadHwState(InputInfoPtr pInfo,
struct CommData *comm, struct SynapticsHwState *hwRet)
{
diff --git a/src/eventcomm.h b/src/eventcomm.h
index 8fd7bcb..1938d5f 100644
--- a/src/eventcomm.h
+++ b/src/eventcomm.h
@@ -29,9 +29,15 @@
#include <linux/input.h>
#include <linux/version.h>
+#include <xf86Xinput.h>
+#include "synproto.h"
/* for auto-dev: */
#define DEV_INPUT_EVENT "/dev/input"
#define EVENT_DEV_NAME "event"
+extern Bool
+EventReadHwState(InputInfoPtr pInfo,
+ struct CommData *comm, struct SynapticsHwState *hwRet);
+
#endif /* _EVENTCOMM_H_ */
--
1.7.4
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel