summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-11-04 21:33:09 +0200
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-11-08 15:29:16 +0200
commit3a9b96425851b495503bd2eb0fd0d01c08f6a097 (patch)
treef6523afebb7e6de92a57fc1d15b9e19c54209dd7 /dix
parent6716488fa256798070017232405b107d5c985479 (diff)
dix: add missing prototypes
Add missing prototype for ffs, and include headers from ffs.c. Move PostSyntheticMotion prototype to input.h.
Diffstat (limited to 'dix')
-rw-r--r--dix/events.c1
-rw-r--r--dix/ffs.c6
2 files changed, 6 insertions, 1 deletions
diff --git a/dix/events.c b/dix/events.c
index 3b1a0aaf4..b5937e754 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -327,7 +327,6 @@ static CARD8 criticalEvents[32] =
#ifdef PANORAMIX
static void ConfineToShape(RegionPtr shape, int *px, int *py);
-extern void PostSyntheticMotion(int x, int y, int screenNum, int time);
static void PostNewCursor(void);
#define SyntheticMotion(x, y) \
diff --git a/dix/ffs.c b/dix/ffs.c
index e25d715dd..f84f7b47f 100644
--- a/dix/ffs.c
+++ b/dix/ffs.c
@@ -26,6 +26,12 @@ The Open Group.
*/
+#ifdef HAVE_DIX_CONFIG_H
+#include <dix-config.h>
+#endif
+
+#include "dix.h"
+
int
ffs(int i)
{