summaryrefslogtreecommitdiff
path: root/xserver/miext/sync/misyncstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/miext/sync/misyncstr.h')
-rw-r--r--xserver/miext/sync/misyncstr.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/xserver/miext/sync/misyncstr.h b/xserver/miext/sync/misyncstr.h
index 2eab2aa57..6f89714d6 100644
--- a/xserver/miext/sync/misyncstr.h
+++ b/xserver/miext/sync/misyncstr.h
@@ -38,13 +38,14 @@
#define SYNC_COUNTER 0
#define SYNC_FENCE 1
-typedef struct _SyncObject {
+struct _SyncObject {
ClientPtr client; /* Owning client. 0 for system counters */
struct _SyncTriggerList *pTriglist; /* list of triggers */
XID id; /* resource ID */
unsigned char type; /* SYNC_* */
+ unsigned char initialized; /* FALSE if created but not initialized */
Bool beingDestroyed; /* in process of going away */
-} SyncObject;
+};
typedef struct _SyncCounter {
SyncObject sync; /* Common sync object data */