Xext: SyncCreateSystemCounter returns a SyncCounter*

type safety++

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Bryce Harrington <bryce@canonical.com>
This commit is contained in:
Peter Hutterer 2012-03-12 16:03:50 +10:00
parent 45fe3085f8
commit 61cb98da1c
2 changed files with 7 additions and 7 deletions

View File

@ -921,7 +921,7 @@ static int FreeCounter(void *, XID);
* ***** System Counter utilities
*/
pointer
SyncCounter*
SyncCreateSystemCounter(const char *name,
CARD64 initial,
CARD64 resolution,

View File

@ -116,12 +116,12 @@ typedef union {
SyncAwait await;
} SyncAwaitUnion;
extern pointer SyncCreateSystemCounter(const char *name,
CARD64 initial_value,
CARD64 resolution,
SyncCounterType counterType,
SyncSystemCounterQueryValue QueryValue,
SyncSystemCounterBracketValues BracketValues
extern SyncCounter* SyncCreateSystemCounter(const char *name,
CARD64 initial_value,
CARD64 resolution,
SyncCounterType counterType,
SyncSystemCounterQueryValue QueryValue,
SyncSystemCounterBracketValues BracketValues
);
extern void SyncChangeCounter(SyncCounter *pCounter,