[commit: ghc] master: rts: remove unused functions, fix validate on OS X (7ef3f0d)

git at git.haskell.org git at git.haskell.org
Thu Mar 27 21:52:29 UTC 2014


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

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

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

commit 7ef3f0d6dbd54d9e58fb6ab1f2db322bc8fac37a
Author: Austin Seipp <austin at well-typed.com>
Date:   Thu Mar 27 16:51:07 2014 -0500

    rts: remove unused functions, fix validate on OS X
    
    After a toolchain update, Clang is no longer appreciative of the fact
    these are unused, thanks to -Werror during validate.
    
    Signed-off-by: Austin Seipp <austin at well-typed.com>


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

7ef3f0d6dbd54d9e58fb6ab1f2db322bc8fac37a
 rts/eventlog/EventLog.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/rts/eventlog/EventLog.c b/rts/eventlog/EventLog.c
index ef6f69c..2e0e9bb 100644
--- a/rts/eventlog/EventLog.c
+++ b/rts/eventlog/EventLog.c
@@ -203,15 +203,9 @@ static inline void postEventHeader(EventsBuf *eb, EventTypeNum type)
 static inline void postInt8(EventsBuf *eb, StgInt8 i)
 { postWord8(eb, (StgWord8)i); }
 
-static inline void postInt16(EventsBuf *eb, StgInt16 i)
-{ postWord16(eb, (StgWord16)i); }
-
 static inline void postInt32(EventsBuf *eb, StgInt32 i)
 { postWord32(eb, (StgWord32)i); }
 
-static inline void postInt64(EventsBuf *eb, StgInt64 i)
-{ postWord64(eb, (StgWord64)i); }
-
 
 void
 initEventLogging(void)



More information about the ghc-commits mailing list