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)
AtomError ();
}

View File

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

View File

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

View File

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