includes/rts: Drop trailing comma
authorBen Gamari <ben@smart-cactus.org>
Fri, 8 Sep 2017 02:49:22 +0000 (22:49 -0400)
committerBen Gamari <ben@smart-cactus.org>
Fri, 8 Sep 2017 02:53:20 +0000 (22:53 -0400)
This trailing comma snuck in in a recent patch. There is nothing wrong with the
comma; it's perfectly valid C99, yet nevertheless Mac OS X's dtrace utility
chokes on it with,

    dtrace: failed to compile script rts/RtsProbes.d:
            "includes/rts/EventLogFormat.h", line 245: syntax error near "}"
    make[1]: *** [rts/dist/build/RtsProbes.h] Error 1

includes/rts/EventLogFormat.h

index b3ad52b..ccfe03b 100644 (file)
@@ -241,7 +241,7 @@ typedef enum {
     HEAP_PROF_BREAKDOWN_TYPE_DESCR,
     HEAP_PROF_BREAKDOWN_RETAINER,
     HEAP_PROF_BREAKDOWN_BIOGRAPHY,
-    HEAP_PROF_BREAKDOWN_CLOSURE_TYPE,
+    HEAP_PROF_BREAKDOWN_CLOSURE_TYPE
 } HeapProfBreakdown;
 
 #if !defined(EVENTLOG_CONSTANTS_ONLY)