diff options
author | Austin Seipp <austin@well-typed.com> | 2014-03-27 16:51:07 -0500 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2014-03-27 16:51:07 -0500 |
commit | 7ef3f0d6dbd54d9e58fb6ab1f2db322bc8fac37a (patch) | |
tree | ef1e0dd9d13ba2424f721e4a3d4edc7e999ba175 /rts/eventlog | |
parent | c4eeacdfdf4578eb6e75bbf2e067bfe70ec94ab0 (diff) | |
download | haskell-7ef3f0d6dbd54d9e58fb6ab1f2db322bc8fac37a.tar.gz |
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@well-typed.com>
Diffstat (limited to 'rts/eventlog')
-rw-r--r-- | rts/eventlog/EventLog.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/rts/eventlog/EventLog.c b/rts/eventlog/EventLog.c index ef6f69c6dd..2e0e9bbddc 100644 --- a/rts/eventlog/EventLog.c +++ b/rts/eventlog/EventLog.c @@ -198,20 +198,14 @@ static inline void postEventHeader(EventsBuf *eb, EventTypeNum type) { postEventTypeNum(eb, type); postTimestamp(eb); -} +} 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) |