summaryrefslogtreecommitdiff
path: root/rts/sm/ShouldCompact.h
diff options
context:
space:
mode:
Diffstat (limited to 'rts/sm/ShouldCompact.h')
-rw-r--r--rts/sm/ShouldCompact.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/rts/sm/ShouldCompact.h b/rts/sm/ShouldCompact.h
index a8ae85df51..bce8ced288 100644
--- a/rts/sm/ShouldCompact.h
+++ b/rts/sm/ShouldCompact.h
@@ -11,8 +11,7 @@
*
* ---------------------------------------------------------------------------*/
-#ifndef SM_SHOULDCOMPACT_H
-#define SM_SHOULDCOMPACT_H
+#pragma once
#define SHOULDCOMPACT_STATIC 0
#define SHOULDCOMPACT_IN_CNF 1
@@ -22,5 +21,3 @@
#ifndef CMINUSMINUS
extern StgWord shouldCompact (StgCompactNFData *str, StgClosure *p);
#endif
-
-#endif