summaryrefslogtreecommitdiff
path: root/syncstr.h
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:28:02 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:28:02 +0000
commit023a09fe640f876478157e5b4cd9cfec1452da4b (patch)
treef62c24617ddc9ece3ee5fc252be716aac981dc3f /syncstr.h
parent343e78e15048e6a25791449bfc7566c07ccddf28 (diff)
downloadxorg-proto-xextproto-023a09fe640f876478157e5b4cd9cfec1452da4b.tar.gz
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_903_specialxf86-4_3_99_902xf86-4_3_99_901xf86-4_3_99_16xf86-012804-2330
Diffstat (limited to 'syncstr.h')
-rw-r--r--syncstr.h33
1 files changed, 14 insertions, 19 deletions
diff --git a/syncstr.h b/syncstr.h
index fdabb12..6479bb3 100644
--- a/syncstr.h
+++ b/syncstr.h
@@ -48,6 +48,10 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
******************************************************************/
+/* $XFree86: xc/include/extensions/syncstr.h,v 1.4 2003/11/17 22:20:03 dawes Exp $ */
+
+#ifndef _SYNCSTR_H_
+#define _SYNCSTR_H_
#include "sync.h"
@@ -392,17 +396,13 @@ typedef struct _SysCounterInfo {
CARD64 bracket_less;
SyncCounterType counterType; /* how can this counter change */
void (*QueryValue)(
-#if NeedNestedPrototypes
pointer /*pCounter*/,
CARD64 * /*freshvalue*/
-#endif
);
void (*BracketValues)(
-#if NeedNestedPrototypes
pointer /*pCounter*/,
CARD64 * /*lessthan*/,
CARD64 * /*greaterthan*/
-#endif
);
} SysCounterInfo;
@@ -415,20 +415,14 @@ typedef struct _SyncTrigger {
unsigned int test_type; /* transition or Comparision type */
CARD64 test_value; /* trigger event threshold value */
Bool (*CheckTrigger)(
-#if NeedNestedPrototypes
struct _SyncTrigger * /*pTrigger*/,
CARD64 /*newval*/
-#endif
);
void (*TriggerFired)(
-#if NeedNestedPrototypes
struct _SyncTrigger * /*pTrigger*/
-#endif
);
void (*CounterDestroyed)(
-#if NeedNestedPrototypes
struct _SyncTrigger * /*pTrigger*/
-#endif
);
} SyncTrigger;
@@ -472,28 +466,29 @@ typedef union {
extern pointer SyncCreateSystemCounter(
-#if NeedFunctionPrototypes
char * /* name */,
CARD64 /* inital_value */,
CARD64 /* resolution */,
SyncCounterType /* change characterization */,
- void (* /*QueryValue*/ ) (), /* XXX prototype */
- void (* /*BracketValues*/) ()
-#endif
+ void (* /*QueryValue*/ ) (
+ pointer /* pCounter */,
+ CARD64 * /* pValue_return */), /* XXX prototype */
+ void (* /*BracketValues*/) (
+ pointer /* pCounter */,
+ CARD64 * /* pbracket_less */,
+ CARD64 * /* pbracket_greater */)
);
extern void SyncChangeCounter(
-#if NeedFunctionPrototypes
SyncCounter * /* pCounter*/,
CARD64 /* new_value */
-#endif
);
extern void SyncDestroySystemCounter(
-#if NeedFunctionPrototypes
pointer pCounter
-#endif
);
-extern void InitServertime();
+extern void InitServertime(void);
#endif /* _SYNC_SERVER */
+
+#endif /* _SYNCSTR_H_ */