(__FD_ZERO): Declare __arr variable as of type __fdset *.
authordrepper <drepper>
Tue, 16 Sep 1997 21:49:51 +0000 (21:49 +0000)
committerdrepper <drepper>
Tue, 16 Sep 1997 21:49:51 +0000 (21:49 +0000)
bits/select.h
sysdeps/generic/bits/select.h
sysdeps/i386/bits/select.h

index 8487e21..0da0acb 100644 (file)
@@ -17,7 +17,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #ifndef _SYS_SELECT_H
-#error "Never use <bits/select.h> directly; include <sys/select.h> instead."
+# error "Never use <bits/select.h> directly; include <sys/select.h> instead."
 #endif
 
 
@@ -26,7 +26,7 @@
 #define __FD_ZERO(set) \
   do {                                                                       \
     unsigned int __i;                                                        \
-    __fd_mask *__arr = (set);                                                \
+    __fd_set *__arr = (set);                                                 \
     for (__i = 0; __i < sizeof (__fd_set) / sizeof (__fd_mask); ++__i)       \
       __arr->fds_bits[__i] = '\0';                                           \
   } while (0)
index 8487e21..0da0acb 100644 (file)
@@ -17,7 +17,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #ifndef _SYS_SELECT_H
-#error "Never use <bits/select.h> directly; include <sys/select.h> instead."
+# error "Never use <bits/select.h> directly; include <sys/select.h> instead."
 #endif
 
 
@@ -26,7 +26,7 @@
 #define __FD_ZERO(set) \
   do {                                                                       \
     unsigned int __i;                                                        \
-    __fd_mask *__arr = (set);                                                \
+    __fd_set *__arr = (set);                                                 \
     for (__i = 0; __i < sizeof (__fd_set) / sizeof (__fd_mask); ++__i)       \
       __arr->fds_bits[__i] = '\0';                                           \
   } while (0)
index 34d2b0b..f2107e9 100644 (file)
@@ -17,7 +17,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #ifndef _SYS_SELECT_H
-#error "Never use <bits/select.h> directly; include <sys/select.h> instead."
+# error "Never use <bits/select.h> directly; include <sys/select.h> instead."
 #endif
 
 
@@ -58,7 +58,7 @@
 # define __FD_ZERO(set)  \
   do {                                                                       \
     unsigned int __i;                                                        \
-    __fd_mask *__arr = (set);                                                \
+    __fd_set *__arr = (set);                                                 \
     for (__i = 0; __i < sizeof (__fd_set) / sizeof (__fd_mask); ++__i)       \
       __arr->fds_bits[__i] = 0;                                                      \
   } while (0)