diff options
author | Adam Jackson <ajax@redhat.com> | 2007-11-15 17:01:33 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2007-11-15 17:01:33 -0500 |
commit | 20fd4783247b1b93d9675dc36768dd1ed59ba2d3 (patch) | |
tree | 80a2e88e40132149574bef62318c0d0ad738e225 | |
parent | 70e50fa51f05663f289eeeea4521e737e8e24bca (diff) |
Small static cleanups on dix/
-rw-r--r-- | dix/atom.c | 2 | ||||
-rw-r--r-- | dix/dispatch.c | 4 | ||||
-rw-r--r-- | dix/events.c | 4 | ||||
-rw-r--r-- | include/dix.h | 13 |
4 files changed, 4 insertions, 19 deletions
diff --git a/dix/atom.c b/dix/atom.c index 6ae3e31df..c968c1e5a 100644 --- a/dix/atom.c +++ b/dix/atom.c @@ -209,5 +209,3 @@ InitAtoms(void) if (lastAtom != XA_LAST_PREDEFINED) AtomError (); } - - diff --git a/dix/dispatch.c b/dix/dispatch.c index 8c76eb12e..c356aed30 100644 --- a/dix/dispatch.c +++ b/dix/dispatch.c @@ -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; diff --git a/dix/events.c b/dix/events.c index 12c299a3b..85f42b31e 100644 --- a/dix/events.c +++ b/dix/events.c @@ -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; diff --git a/include/dix.h b/include/dix.h index 6a67d14dd..c987548bf 100644 --- a/include/dix.h +++ b/include/dix.h @@ -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 */, |