summaryrefslogtreecommitdiff
path: root/rts/include
diff options
context:
space:
mode:
Diffstat (limited to 'rts/include')
-rw-r--r--rts/include/rts/storage/InfoTables.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/include/rts/storage/InfoTables.h b/rts/include/rts/storage/InfoTables.h
index b5102c8b8d..39423a3f9f 100644
--- a/rts/include/rts/storage/InfoTables.h
+++ b/rts/include/rts/storage/InfoTables.h
@@ -70,7 +70,7 @@ typedef struct {
#define isUNPOINTED(flags) ((flags) &_UPT)
#define hasSRT(flags) ((flags) &_SRT)
-extern StgWord16 closure_flags[];
+extern const StgWord16 closure_flags[];
#define closureFlags(c) (closure_flags[get_itbl \
(UNTAG_CONST_CLOSURE(c))->type])