Small static cleanups on dix/

This commit is contained in:
Adam Jackson 2007-11-15 17:01:33 -05:00
parent 70e50fa51f
commit 20fd478324
4 changed files with 4 additions and 19 deletions

View File

@ -209,5 +209,3 @@ InitAtoms(void)
if (lastAtom != XA_LAST_PREDEFINED) if (lastAtom != XA_LAST_PREDEFINED)
AtomError (); AtomError ();
} }

View File

@ -249,7 +249,7 @@ UpdateCurrentTimeIf(void)
currentTime = systime; currentTime = systime;
} }
void static void
InitSelections(void) InitSelections(void)
{ {
if (CurrentSelections) if (CurrentSelections)
@ -3836,7 +3836,7 @@ ProcInitialConnection(ClientPtr client)
return (client->noClientException); return (client->noClientException);
} }
int static int
SendConnSetup(ClientPtr client, char *reason) SendConnSetup(ClientPtr client, char *reason)
{ {
xWindowRoot *root; xWindowRoot *root;

View File

@ -1184,7 +1184,7 @@ FreezeThaw(DeviceIntPtr dev, Bool frozen)
dev->public.processInputProc = dev->public.realInputProc; dev->public.processInputProc = dev->public.realInputProc;
} }
void static void
ComputeFreezes(void) ComputeFreezes(void)
{ {
DeviceIntPtr replayDev = syncEvents.replayDev; DeviceIntPtr replayDev = syncEvents.replayDev;
@ -1268,7 +1268,7 @@ ScreenRestructured (ScreenPtr pScreen)
} }
#endif #endif
void static void
CheckGrabForSyncs(DeviceIntPtr thisDev, Bool thisMode, Bool otherMode) CheckGrabForSyncs(DeviceIntPtr thisDev, Bool thisMode, Bool otherMode)
{ {
GrabPtr grab = thisDev->grab; GrabPtr grab = thisDev->grab;

View File

@ -158,8 +158,6 @@ extern void UpdateCurrentTime(void);
extern void UpdateCurrentTimeIf(void); extern void UpdateCurrentTimeIf(void);
extern void InitSelections(void);
extern void FlushClientCaches(XID /*id*/); extern void FlushClientCaches(XID /*id*/);
extern int dixDestroyPixmap( extern int dixDestroyPixmap(
@ -187,10 +185,6 @@ extern void DeleteWindowFromAnySelections(
extern void MarkClientException( extern void MarkClientException(
ClientPtr /*client*/); ClientPtr /*client*/);
extern int SendConnSetup(
ClientPtr /*client*/,
char* /*reason*/);
#if defined(DDXBEFORERESET) #if defined(DDXBEFORERESET)
extern void ddxBeforeReset (void); extern void ddxBeforeReset (void);
#endif #endif
@ -362,13 +356,6 @@ extern void EnqueueEvent(
DeviceIntPtr /* device */, DeviceIntPtr /* device */,
int /* count */); int /* count */);
extern void ComputeFreezes(void);
extern void CheckGrabForSyncs(
DeviceIntPtr /* dev */,
Bool /* thisMode */,
Bool /* otherMode */);
extern void ActivatePointerGrab( extern void ActivatePointerGrab(
DeviceIntPtr /* mouse */, DeviceIntPtr /* mouse */,
GrabPtr /* grab */, GrabPtr /* grab */,