From 1eee1ca4fe5f9ed60db22f7cd6be5fb4fd406e75 Mon Sep 17 00:00:00 2001 From: Austin Seipp <austin@well-typed.com> Date: Thu, 27 Mar 2014 16:51:07 -0500 Subject: [PATCH] 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> (cherry picked from commit 7ef3f0d6dbd54d9e58fb6ab1f2db322bc8fac37a) --- rts/eventlog/EventLog.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/rts/eventlog/EventLog.c b/rts/eventlog/EventLog.c index ef6f69c6dd3b..2e0e9bbddcac 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) -- GitLab