projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9211ec0
)
Removed unused function postEventTypeID.
author
donnie@darthik.com
<unknown>
Mon, 13 Apr 2009 01:17:45 +0000
(
01:17
+0000)
committer
donnie@darthik.com
<unknown>
Mon, 13 Apr 2009 01:17:45 +0000
(
01:17
+0000)
postEventTypeID was used to post event marker IDs, but instead we just
call postWord16 directly; thus, this function is unused.
rts/eventlog/EventLog.c
patch
|
blob
|
history
diff --git
a/rts/eventlog/EventLog.c
b/rts/eventlog/EventLog.c
index
d44460a
..
990820f
100644
(file)
--- a/
rts/eventlog/EventLog.c
+++ b/
rts/eventlog/EventLog.c
@@
-106,9
+106,6
@@
static inline void postWord64(EventsBuf *eb, StgWord64 i)
static inline void postEventTypeNum(EventsBuf *eb, EventTypeNum etNum)
{ postWord16(eb, etNum); }
-static inline void postEventTypeID(EventsBuf *eb, StgWord16 etID)
-{ postWord16(eb, etID); }
-
static inline void postTimestamp(EventsBuf *eb, Timestamp t)
{ postWord64(eb,t); }