summaryrefslogtreecommitdiffhomepage
path: root/ir/obstack
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-10-05 02:01:19 +0200
committerMatthias Braun <matze@braunis.de>2015-10-05 02:06:24 +0200
commit220ea09cc7e4275000227e431d2996430c118625 (patch)
tree6310582f3acf678a0597cfb99509047a433ed6e4 /ir/obstack
parent864cb07b5d1733f8382f309e9a0523980e2bbb70 (diff)
fix C11/msvc build by differentiating between FIRM_NORETURN and FIRM_NORETURN_FUNCPTR
Diffstat (limited to 'ir/obstack')
-rw-r--r--ir/obstack/obstack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/obstack/obstack.c b/ir/obstack/obstack.c
index 4c04fdd..c47ac8f 100644
--- a/ir/obstack/obstack.c
+++ b/ir/obstack/obstack.c
@@ -65,7 +65,7 @@ enum
variable by default points to the internal function
`print_and_abort'. */
static FIRM_NORETURN print_and_abort (void);
-FIRM_NORETURN (*obstack_alloc_failed_handler) (void) = print_and_abort;
+FIRM_NORETURN_FUNCPTR (*obstack_alloc_failed_handler) (void) = print_and_abort;
/* Exit value used when `print_and_abort' is used. */
# include <stdlib.h>