mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-05 17:42:43 +00:00
(!1639) Xext: sync: drop now obsolete swap procs
Several SProc's have become no-ops, just calling the actual Proc's, so we can get rid of them entirely. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
16
Xext/sync.c
16
Xext/sync.c
@@ -2152,18 +2152,6 @@ ProcSyncDispatch(ClientPtr client)
|
||||
* Boring Swapping stuff ...
|
||||
*/
|
||||
|
||||
static int _X_COLD
|
||||
SProcSyncInitialize(ClientPtr client)
|
||||
{
|
||||
return ProcSyncInitialize(client);
|
||||
}
|
||||
|
||||
static int _X_COLD
|
||||
SProcSyncListSystemCounters(ClientPtr client)
|
||||
{
|
||||
return ProcSyncListSystemCounters(client);
|
||||
}
|
||||
|
||||
static int _X_COLD
|
||||
SProcSyncCreateCounter(ClientPtr client)
|
||||
{
|
||||
@@ -2362,9 +2350,9 @@ SProcSyncDispatch(ClientPtr client)
|
||||
|
||||
switch (stuff->data) {
|
||||
case X_SyncInitialize:
|
||||
return SProcSyncInitialize(client);
|
||||
return ProcSyncInitialize(client);
|
||||
case X_SyncListSystemCounters:
|
||||
return SProcSyncListSystemCounters(client);
|
||||
return ProcSyncListSystemCounters(client);
|
||||
case X_SyncCreateCounter:
|
||||
return SProcSyncCreateCounter(client);
|
||||
case X_SyncSetCounter:
|
||||
|
||||
Reference in New Issue
Block a user