diff options
author | Andreas Schwab <schwab@redhat.com> | 2011-10-17 11:22:13 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@redhat.com> | 2011-10-17 11:49:44 +0200 |
commit | 49a43d80ec5c97cf6136b1ee2687414773b2d5aa (patch) | |
tree | 48cb8cd8e2921632dff9ff232df3842e5fccf3a2 | |
parent | 629f62ef0fbda8602cf796b24df79fb126f06851 (diff) | |
download | glibc-49a43d80ec5c97cf6136b1ee2687414773b2d5aa.tar.gz glibc-49a43d80ec5c97cf6136b1ee2687414773b2d5aa.tar.xz glibc-49a43d80ec5c97cf6136b1ee2687414773b2d5aa.zip |
Fix syntax error in __THROW macro
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | misc/sys/cdefs.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index ab651ff3ad..32a6a5dafd 100644 --- 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. 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 () |