Skip to content
Snippets Groups Projects
Commit 0e60d52c authored by Zubin's avatar Zubin Committed by Marge Bot
Browse files

rts: drop unused postString function

parent 8aafa51c
No related branches found
No related tags found
No related merge requests found
...@@ -198,16 +198,6 @@ static inline void postStringLen(EventsBuf *eb, const char *buf, StgWord len) ...@@ -198,16 +198,6 @@ static inline void postStringLen(EventsBuf *eb, const char *buf, StgWord len)
eb->pos++; eb->pos++;
} }
/* Post a null-terminated string to the event log.
* It is the caller's responsibility to ensure that there is
* enough room for strlen(buf)+1 bytes.
*/
static inline void postString(EventsBuf *eb, const char *buf)
{
const StgWord len = buf ? strlen(buf) : 0;
postStringLen(eb, buf, len);
}
static inline StgWord64 time_ns(void) static inline StgWord64 time_ns(void)
{ return TimeToNS(stat_getElapsedTime()); } { return TimeToNS(stat_getElapsedTime()); }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment