patch-2.2.4 linux/include/asm-sparc64/posix_types.h
Next file: linux/include/asm-sparc64/processor.h
Previous file: linux/include/asm-sparc64/pgtable.h
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Wed Mar 10 16:53:38 1999
- Orig file:
v2.2.3/linux/include/asm-sparc64/posix_types.h
- Orig date:
Mon Oct 5 13:13:44 1998
diff -u --recursive --new-file v2.2.3/linux/include/asm-sparc64/posix_types.h linux/include/asm-sparc64/posix_types.h
@@ -38,7 +38,11 @@
#endif
typedef struct {
+#if defined(__KERNEL__) || defined(__USE_ALL)
int val[2];
+#else /* !defined(__KERNEL__) && !defined(__USE_ALL) */
+ int __val[2];
+#endif /* !defined(__KERNEL__) && !defined(__USE_ALL) */
} __kernel_fsid_t;
/* Now 32bit compatibility types */
@@ -62,6 +66,8 @@
typedef long __kernel_loff_t32;
typedef __kernel_fsid_t __kernel_fsid_t32;
+#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
+
#undef __FD_SET
static __inline__ void __FD_SET(unsigned long fd, __kernel_fd_set *fdsetp)
{
@@ -130,5 +136,7 @@
tmp++;
}
}
+
+#endif /* defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) */
#endif /* !(__ARCH_SPARC64_POSIX_TYPES_H) */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)