aboutsummaryrefslogtreecommitdiff
path: root/misc/bits
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2011-12-02 11:34:28 +0100
committerAndreas Schwab <schwab@redhat.com>2011-12-02 11:36:55 +0100
commitd4cc29a254db6bd3838aac79d9d0e91cfd467c9d (patch)
treef75e5a5397f882023ee06bdec9da8d1a9977bdb3 /misc/bits
parent6257af2d05d460a0dd3e2a8268dd813edb980d81 (diff)
downloadglibc-d4cc29a254db6bd3838aac79d9d0e91cfd467c9d.zip
glibc-d4cc29a254db6bd3838aac79d9d0e91cfd467c9d.tar.gz
glibc-d4cc29a254db6bd3838aac79d9d0e91cfd467c9d.tar.bz2
Mark fortified __FD_ELT as extension
Diffstat (limited to 'misc/bits')
-rw-r--r--misc/bits/select2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/bits/select2.h b/misc/bits/select2.h
index 37c4827..a7ce1b4 100644
--- a/misc/bits/select2.h
+++ b/misc/bits/select2.h
@@ -27,7 +27,8 @@ extern unsigned long int __fdelt_warn (unsigned long int __d)
__warnattr ("bit outside of fd_set selected");
#undef __FD_ELT
#define __FD_ELT(d) \
- ({ unsigned long int __d = d; \
+ __extension__ \
+ ({ unsigned long int __d = (d); \
(__builtin_constant_p (__d) \
? (__d >= __FD_SETSIZE \
? __fdelt_warn (__d) : (__d / __NFDBITS)) \