about summary refs log tree commit diff
path: root/sysdeps/x86_64
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-01-09 16:49:17 -0500
committerUlrich Drepper <drepper@gmail.com>2011-01-09 16:49:17 -0500
commitf257bbd77dfcfdf9fa305e220b295e4ad57f405d (patch)
tree37d451738cd8feb3fdda5945149822015f282bd5 /sysdeps/x86_64
parentfa9c15cb83a256da27f8ab99207b752e598c4937 (diff)
downloadglibc-f257bbd77dfcfdf9fa305e220b295e4ad57f405d.tar.gz
glibc-f257bbd77dfcfdf9fa305e220b295e4ad57f405d.tar.xz
glibc-f257bbd77dfcfdf9fa305e220b295e4ad57f405d.zip
Clean up some bits/select.h headers.
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r--sysdeps/x86_64/bits/select.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sysdeps/x86_64/bits/select.h b/sysdeps/x86_64/bits/select.h
index 5f31b84080..a300d58d33 100644
--- a/sysdeps/x86_64/bits/select.h
+++ b/sysdeps/x86_64/bits/select.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997,1998,1999,2001,2008,2009 Free Software Foundation, Inc.
+/* Copyright (C) 1997-1999,2001,2008,2009,2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -56,7 +56,9 @@
 
 #endif	/* GNU CC */
 
-#define __FD_SET(d, set)    (__FDS_BITS (set)[__FDELT (d)] |= __FDMASK (d))
-#define __FD_CLR(d, set)    (__FDS_BITS (set)[__FDELT (d)] &= ~__FDMASK (d))
+#define __FD_SET(d, set) \
+  ((void) (__FDS_BITS (set)[__FDELT (d)] |= __FDMASK (d)))
+#define __FD_CLR(d, set) \
+  ((void) (__FDS_BITS (set)[__FDELT (d)] &= ~__FDMASK (d)))
 #define __FD_ISSET(d, set) \
   ((__FDS_BITS (set)[__FDELT (d)] & __FDMASK (d)) != 0)