From 49a43d80ec5c97cf6136b1ee2687414773b2d5aa Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 17 Oct 2011 11:22:13 +0200 Subject: Fix syntax error in __THROW macro --- misc/sys/cdefs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc/sys/cdefs.h') diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h index bef8be7f4a..72073e8557 100644 --- a/misc/sys/cdefs.h +++ b/misc/sys/cdefs.h @@ -53,8 +53,8 @@ as non-throwing using a function attribute since programs can use the -fexceptions options for C code as well. */ # if !defined __cplusplus && __GNUC_PREREQ (3, 3) -# define __THROW __attribute__ ((__nothrow__ __LEAF_ATTR)) -# define __NTH(fct) __attribute__ ((__nothrow__ __LEAF_ATTR)) fct +# define __THROW __attribute__ ((__nothrow__ __LEAF)) +# define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct # else # if defined __cplusplus && __GNUC_PREREQ (2,8) # define __THROW throw () -- cgit 1.4.1