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:
parent
6716488fa2
commit
3a9b964258
|
@ -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) \
|
||||
|
|
|
@ -26,6 +26,12 @@ The Open Group.
|
|||
|
||||
*/
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#include "dix.h"
|
||||
|
||||
int
|
||||
ffs(int i)
|
||||
{
|
||||
|
|
|
@ -701,6 +701,8 @@ extern Bool AllocateClientPrivate(
|
|||
int /*index*/,
|
||||
unsigned /*amount*/);
|
||||
|
||||
extern int ffs(int i);
|
||||
|
||||
/*
|
||||
* callback manager stuff
|
||||
*/
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user