add prototype for DarwinEventHandler

(cherry picked from commit 9a03ae33c4)
This commit is contained in:
Ben Byer 2008-03-31 17:08:45 -07:00 committed by Jeremy Huddleston
parent 3713be8b47
commit 5b6c273eaa
2 changed files with 2 additions and 2 deletions

View File

@ -204,8 +204,6 @@ void DarwinEventHandler(int screenNum, xEventPtr xe, DeviceIntPtr dev, int neven
Bool DarwinEQInit(DevicePtr pKbd, DevicePtr pPtr) {
void mieqSetHandler(int event, mieqHandler handler);
darwinEvents = (xEvent *)malloc(sizeof(xEvent) * GetMaximumEventsNum());
mieqInit();
mieqSetHandler(kXquartzActivate, DarwinEventHandler);

View File

@ -41,4 +41,6 @@ void DarwinSendScrollEvents(float count, int pointer_x, int pointer_y,
float pressure, float tilt_x, float tilt_y);
void DarwinUpdateModKeys(int flags);
void DarwinEventHandler(int screenNum, xEventPtr xe, DeviceIntPtr dev,
int nevents);
#endif /* _DARWIN_EVENTS_H */