diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2016-04-18 22:26:02 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-04-18 22:26:05 +0200 |
commit | 32ddd96972301a03dc0d594bda76da426785e722 (patch) | |
tree | 613d9d04382d201dd97282bd35cd1f7346a070ba /includes/rts/storage/TSO.h | |
parent | 87114ae13fd1f10dc00a6b4e64898da3e92d0266 (diff) | |
download | haskell-32ddd96972301a03dc0d594bda76da426785e722.tar.gz |
Remove obsolete/redundant FLEXIBLE_ARRAY macro
This macro is doubly redundant, first off all, ancient GCCs prior to
version 3.0 are not supported anymore, but more importantly, we require
a ISO C99 compliant compiler, so we can use the proper ISO C syntax
without worrying about compatibility.
Reviewers: austin, bgamari
Reviewed By: bgamari
Subscribers: carter, thomie
Differential Revision: https://phabricator.haskell.org/D2121
Diffstat (limited to 'includes/rts/storage/TSO.h')
-rw-r--r-- | includes/rts/storage/TSO.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/rts/storage/TSO.h b/includes/rts/storage/TSO.h index 9bddfcafbd..aa3d05745b 100644 --- a/includes/rts/storage/TSO.h +++ b/includes/rts/storage/TSO.h @@ -191,7 +191,7 @@ typedef struct StgStack_ { StgWord32 stack_size; // stack size in *words* StgWord32 dirty; // non-zero => dirty StgPtr sp; // current stack pointer - StgWord stack[FLEXIBLE_ARRAY]; + StgWord stack[]; } StgStack; // Calculate SpLim from a TSO (reads tso->stackobj, but no fields from |