Fix syntax error in __THROW macro
authorAndreas Schwab <schwab@redhat.com>
Mon, 17 Oct 2011 09:22:13 +0000 (11:22 +0200)
committerAndreas Schwab <schwab@redhat.com>
Mon, 17 Oct 2011 09:49:44 +0000 (11:49 +0200)
ChangeLog
misc/sys/cdefs.h

index ab651ff3add30480a6088c2de666629e76bbf7e0..32a6a5dafd9f6ea2986ab4591a104a82f11fcccf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2011-10-17  Andreas Schwab  <schwab@redhat.com>
 
+       * misc/sys/cdefs.h: Fix last change.
+
        * grp/initgroups.c (internal_getgrouplist): Fix initgroups
        database lookup.
 
index bef8be7f4a15b3244ebf97c4457eca91fc728154..72073e8557506184039a889a54ea8bee6a6cd37c 100644 (file)
@@ -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 ()