fix #3910
[ghc-hetmet.git] / rts / Profiling.h
index 8961da9..3a4184f 100644 (file)
@@ -11,6 +11,8 @@
 
 #include <stdio.h>
 
+#include "BeginPrivate.h"
+
 void initProfiling1 (void);
 void freeProfiling1 (void);
 void initProfiling2 (void);
@@ -21,18 +23,20 @@ extern FILE *hp_file;
 
 #ifdef PROFILING
 
-void gen_XML_logfile     ( void );
+void gen_XML_logfile    ( void );
 void reportCCSProfiling ( void );
 
 void PrintNewStackDecls ( void );
 
-extern void fprintCCS( FILE *f, CostCentreStack *ccs );
-extern void fprintCCS_stderr( CostCentreStack *ccs );
+void fprintCCS( FILE *f, CostCentreStack *ccs );
+void fprintCCS_stderr( CostCentreStack *ccs );
 
 #ifdef DEBUG
-extern void debugCCS( CostCentreStack *ccs );
+void debugCCS( CostCentreStack *ccs );
 #endif
 
 #endif
 
+#include "EndPrivate.h"
+
 #endif /* PROFILING_H */