diff options
author | Julien Cristau <jcristau@debian.org> | 2009-01-11 08:16:12 +0100 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2009-01-11 08:54:10 +0100 |
commit | 292311b421e53ead53c7df67d735a3d6d3e5b515 (patch) | |
tree | 0eb77efe0dcab7b7417e087aac069135c162a73c /Xext/sync.c | |
parent | 7a05c8b1e70680ddd3b3e09ad448788f8d70a428 (diff) |
Xext: ANSI cleanups
Diffstat (limited to 'Xext/sync.c')
-rw-r--r-- | Xext/sync.c | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/Xext/sync.c b/Xext/sync.c index f8870a77c..d0e7f95e3 100644 --- a/Xext/sync.c +++ b/Xext/sync.c @@ -852,19 +852,17 @@ static int FreeCounter(void *, XID); */ pointer -SyncCreateSystemCounter(name, initial, resolution, counterType, - QueryValue, BracketValues) - char *name; - CARD64 initial; - CARD64 resolution; - SyncCounterType counterType; - void (*QueryValue) ( - pointer /* pCounter */, - CARD64 * /* pValue_return */); - void (*BracketValues) ( - pointer /* pCounter */, - CARD64 * /* pbracket_less */, - CARD64 * /* pbracket_greater */); +SyncCreateSystemCounter( + char *name, + CARD64 initial, + CARD64 resolution, + SyncCounterType counterType, + void (*QueryValue)(pointer /* pCounter */, + CARD64 * /* pValue_return */), + void (*BracketValues)(pointer /* pCounter */, + CARD64 * /* pbracket_less */, + CARD64 * /* pbracket_greater */) + ) { SyncCounter *pCounter; @@ -911,8 +909,7 @@ SyncCreateSystemCounter(name, initial, resolution, counterType, } void -SyncDestroySystemCounter(pSysCounter) - pointer pSysCounter; +SyncDestroySystemCounter(pointer pSysCounter) { SyncCounter *pCounter = (SyncCounter *)pSysCounter; FreeResource(pCounter->id, RT_NONE); |