diff options
author | Ian Lynagh <igloo@earth.li> | 2011-06-27 12:21:57 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-06-27 12:21:57 +0100 |
commit | 676bc14e3a49fbc2e9a8343c65a56455c4e5e303 (patch) | |
tree | 94e719b75287dbc2d0e9ef5180ca34ea793bd833 /rts/Trace.h | |
parent | 8023014ecf192381ffba4b60a3dd21630e5c1d18 (diff) | |
download | haskell-676bc14e3a49fbc2e9a8343c65a56455c4e5e303.tar.gz |
Fix build on OS X: Correct silly errors in Trace.h
Diffstat (limited to 'rts/Trace.h')
-rw-r--r-- | rts/Trace.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rts/Trace.h b/rts/Trace.h index b63e8760f3..dd396904e7 100644 --- a/rts/Trace.h +++ b/rts/Trace.h @@ -243,8 +243,8 @@ void dtraceUserMsgWrapper(Capability *cap, char *msg); HASKELLEVENT_REQUEST_PAR_GC(cap) #define dtraceCreateSparkThread(cap, spark_tid) \ HASKELLEVENT_CREATE_SPARK_THREAD(cap, spark_tid) -INLINE_HEADER void dtraceStartup (int n_caps) { - HASKELLEVENT_STARTUP(num_caps) +INLINE_HEADER void dtraceStartup (int num_caps) { + HASKELLEVENT_STARTUP(num_caps); } #define dtraceUserMsg(cap, msg) \ HASKELLEVENT_USER_MSG(cap, msg) @@ -279,7 +279,7 @@ INLINE_HEADER void dtraceStartup (int n_caps) { #define dtraceRequestSeqGc(cap) /* nothing */ #define dtraceRequestParGc(cap) /* nothing */ #define dtraceCreateSparkThread(cap, spark_tid) /* nothing */ -INLINE_HEADER void dtraceStartup (int n_caps STG_UNUSED) {}; +INLINE_HEADER void dtraceStartup (int num_caps STG_UNUSED) {}; #define dtraceUserMsg(cap, msg) /* nothing */ #define dtraceGcIdle(cap) /* nothing */ #define dtraceGcWork(cap) /* nothing */ |