diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-03-12 16:03:50 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-03-22 11:33:21 +1000 |
commit | 61cb98da1c6199964825de158d9eee7682d9c983 (patch) | |
tree | 8fa57c5f6e3e01c1ec96038d3496eb8f05e9d127 /Xext/syncsrv.h | |
parent | 45fe3085f8f45e529383025414fdd263d86dfd2b (diff) |
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>
Diffstat (limited to 'Xext/syncsrv.h')
-rw-r--r-- | Xext/syncsrv.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Xext/syncsrv.h b/Xext/syncsrv.h index f62b27946..1e59dedfe 100644 --- a/Xext/syncsrv.h +++ b/Xext/syncsrv.h @@ -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, |