[commit: ghc] ghc-7.8: rts: remove unused functions, fix validate on OS X (1eee1ca)
git at git.haskell.org
git at git.haskell.org
Mon Mar 31 11:51:41 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-7.8
Link : http://ghc.haskell.org/trac/ghc/changeset/1eee1ca4fe5f9ed60db22f7cd6be5fb4fd406e75/ghc
>---------------------------------------------------------------
commit 1eee1ca4fe5f9ed60db22f7cd6be5fb4fd406e75
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>
(cherry picked from commit 7ef3f0d6dbd54d9e58fb6ab1f2db322bc8fac37a)
>---------------------------------------------------------------
1eee1ca4fe5f9ed60db22f7cd6be5fb4fd406e75
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