[commit: ghc] master: includes/rts: Drop trailing comma (be514a6)

git at git.haskell.org git at git.haskell.org
Fri Sep 8 02:53:47 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/be514a694f2cddbb1b23af971430364a223eb894/ghc

>---------------------------------------------------------------

commit be514a694f2cddbb1b23af971430364a223eb894
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Thu Sep 7 22:49:22 2017 -0400

    includes/rts: Drop trailing comma
    
    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


>---------------------------------------------------------------

be514a694f2cddbb1b23af971430364a223eb894
 includes/rts/EventLogFormat.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/rts/EventLogFormat.h b/includes/rts/EventLogFormat.h
index b3ad52b..ccfe03b 100644
--- a/includes/rts/EventLogFormat.h
+++ b/includes/rts/EventLogFormat.h
@@ -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)



More information about the ghc-commits mailing list