sync: Clean up a bit of header formatting.

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Eric Anholt 2017-09-18 17:34:33 -07:00 committed by Adam Jackson
parent e0f872207a
commit 2946706821
1 changed files with 5 additions and 8 deletions

View File

@ -49,7 +49,7 @@ typedef struct _SyncObject {
typedef struct _SyncCounter {
SyncObject sync; /* Common sync object data */
int64_t value; /* counter value */
struct _SysCounterInfo *pSysCounterInfo; /* NULL if not a system counter */
struct _SysCounterInfo *pSysCounterInfo; /* NULL if not a system counter */
} SyncCounter;
struct _SyncFence {
@ -66,13 +66,10 @@ struct _SyncTrigger {
unsigned int value_type; /* Absolute or Relative */
unsigned int test_type; /* transition or Comparision type */
int64_t test_value; /* trigger event threshold value */
Bool (*CheckTrigger) (struct _SyncTrigger * /*pTrigger */ ,
int64_t /*newval */
);
void (*TriggerFired) (struct _SyncTrigger * /*pTrigger */
);
void (*CounterDestroyed) (struct _SyncTrigger * /*pTrigger */
);
Bool (*CheckTrigger)(struct _SyncTrigger *pTrigger,
int64_t newval);
void (*TriggerFired)(struct _SyncTrigger *pTrigger);
void (*CounterDestroyed)(struct _SyncTrigger *pTrigger);
};
typedef struct _SyncTriggerList {