diff options
author | Eric Anholt <eric@anholt.net> | 2017-09-18 17:34:33 -0700 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-09-20 13:19:27 -0400 |
commit | 294670682120c65001b36369d6395003704f4ac1 (patch) | |
tree | 79478d2c5eead6eea38bee5f1ed50dce68f6fd91 /miext | |
parent | e0f872207aa203adb85e825c311ed50fe3a3af60 (diff) |
sync: Clean up a bit of header formatting.
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'miext')
-rw-r--r-- | miext/sync/misyncstr.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/miext/sync/misyncstr.h b/miext/sync/misyncstr.h index 084ca4c82..2eab2aa57 100644 --- a/miext/sync/misyncstr.h +++ b/miext/sync/misyncstr.h @@ -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 { |