[PATCH xserver 7/7] sync: Clean up a bit of header formatting.

Eric Anholt eric at anholt.net
Thu Aug 3 18:28:51 UTC 2017


Signed-off-by: Eric Anholt <eric at anholt.net>
---
 miext/sync/misyncstr.h | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/miext/sync/misyncstr.h b/miext/sync/misyncstr.h
index 084ca4c82d9d..a0a0a98146b4 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 {
-- 
2.13.3



More information about the xorg-devel mailing list