summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rts/Linker.c5
-rw-r--r--rts/Proftimer.h6
2 files changed, 6 insertions, 5 deletions
diff --git a/rts/Linker.c b/rts/Linker.c
index c6e66f55b5..75b9c7c09d 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -28,6 +28,7 @@
#include "Trace.h"
#include "StgPrimFloat.h" // for __int_encodeFloat etc.
#include "Stable.h"
+#include "Proftimer.h"
#if !defined(mingw32_HOST_OS)
#include "posix/Signals.h"
@@ -1298,8 +1299,8 @@ typedef struct _RtsSymbolVal {
SymI_HasProto(getMonotonicNSec) \
SymI_HasProto(lockFile) \
SymI_HasProto(unlockFile) \
- SymI_NeedsProto(startProfTimer) \
- SymI_NeedsProto(stopProfTimer) \
+ SymI_HasProto(startProfTimer) \
+ SymI_HasProto(stopProfTimer) \
RTS_USER_SIGNALS_SYMBOLS \
RTS_INTCHAR_SYMBOLS
diff --git a/rts/Proftimer.h b/rts/Proftimer.h
index 2b7646f2b7..a8d16b45f4 100644
--- a/rts/Proftimer.h
+++ b/rts/Proftimer.h
@@ -9,14 +9,14 @@
#ifndef PROFTIMER_H
#define PROFTIMER_H
+void stopProfTimer ( void );
+void startProfTimer ( void );
+
#include "BeginPrivate.h"
void initProfTimer ( void );
void handleProfTick ( void );
-void stopProfTimer ( void );
-void startProfTimer ( void );
-
void stopHeapProfTimer ( void );
void startHeapProfTimer ( void );