dix: add missing prototypes

Add missing prototype for ffs, and include headers from ffs.c.
Move PostSyntheticMotion prototype to input.h.
This commit is contained in:
Daniel Stone 2006-11-04 21:33:09 +02:00 committed by Daniel Stone
parent 6716488fa2
commit 3a9b964258
4 changed files with 14 additions and 1 deletions

View File

@ -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) \

View File

@ -26,6 +26,12 @@ The Open Group.
*/
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#include "dix.h"
int
ffs(int i)
{

View File

@ -701,6 +701,8 @@ extern Bool AllocateClientPrivate(
int /*index*/,
unsigned /*amount*/);
extern int ffs(int i);
/*
* callback manager stuff
*/

View File

@ -418,6 +418,12 @@ extern int GetProximityEvents(
int num_valuators,
int *valuators);
extern void PostSyntheticMotion(
int x,
int y,
int screenNum,
unsigned long time);
extern int GetMotionHistorySize(
void);