summaryrefslogtreecommitdiff
path: root/Xext/sync.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-03-12 14:07:44 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-03-22 11:33:21 +1000
commite21ffff4761d2b75815391c6947adcba425ab11e (patch)
treea380a7de93aa1c6824d8b33ab54e570dc0f60b54 /Xext/sync.c
parent5910f2df58beaae2187438fef0b62c29a563e853 (diff)
Xext: typedef QueryValue and BracketValue prototypes
No functional changes, just for readability 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/sync.c')
-rw-r--r--Xext/sync.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/Xext/sync.c b/Xext/sync.c
index 37c59c2be..3764dbf61 100644
--- a/Xext/sync.c
+++ b/Xext/sync.c
@@ -926,11 +926,8 @@ SyncCreateSystemCounter(const 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 */ )
+ SyncSystemCounterQueryValue QueryValue,
+ SyncSystemCounterBracketValues BracketValues
)
{
SyncCounter *pCounter;