summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorDavid McCullough <davidm@snapgear.com>2002-08-27 01:20:21 +0000
committerDavid McCullough <davidm@snapgear.com>2002-08-27 01:20:21 +0000
commit4b2531defc3636e9db2e734b0799d44acbe6e977 (patch)
treef029245dabc86149264153b3cf827f18dda0b5a0 /libc
parent4cd5ca906c65b15fc966b9d02d3f0cc1ae8817ff (diff)
Added __kernel_fsid_t to satisfy some apps that need it.
Definitions taken from 2.4 kernel sources for each of the platforms.
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/alpha/bits/kernel_types.h4
-rw-r--r--libc/sysdeps/linux/arm/bits/kernel_types.h8
-rw-r--r--libc/sysdeps/linux/i386/bits/kernel_types.h8
-rw-r--r--libc/sysdeps/linux/m68k/bits/kernel_types.h8
-rw-r--r--libc/sysdeps/linux/mips/bits/kernel_types.h4
-rw-r--r--libc/sysdeps/linux/powerpc/bits/kernel_types.h4
-rw-r--r--libc/sysdeps/linux/sh/bits/kernel_types.h8
-rw-r--r--libc/sysdeps/linux/sparc/bits/kernel_types.h8
-rw-r--r--libc/sysdeps/linux/v850/bits/kernel_types.h8
9 files changed, 60 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/alpha/bits/kernel_types.h b/libc/sysdeps/linux/alpha/bits/kernel_types.h
index a0b4b3670..0a4d63f87 100644
--- a/libc/sysdeps/linux/alpha/bits/kernel_types.h
+++ b/libc/sysdeps/linux/alpha/bits/kernel_types.h
@@ -33,4 +33,8 @@ typedef __kernel_gid_t __kernel_old_gid_t;
typedef __kernel_uid_t __kernel_uid32_t;
typedef __kernel_gid_t __kernel_gid32_t;
+typedef struct {
+ int val[2];
+} __kernel_fsid_t;
+
#endif /* _ALPHA_POSIX_TYPES_H */
diff --git a/libc/sysdeps/linux/arm/bits/kernel_types.h b/libc/sysdeps/linux/arm/bits/kernel_types.h
index 5332628b8..ea8a3efad 100644
--- a/libc/sysdeps/linux/arm/bits/kernel_types.h
+++ b/libc/sysdeps/linux/arm/bits/kernel_types.h
@@ -32,4 +32,12 @@ typedef unsigned short __kernel_old_uid_t;
typedef unsigned short __kernel_old_gid_t;
typedef long long __kernel_loff_t;
+typedef struct {
+#ifdef __USE_ALL
+ int val[2];
+#else
+ int __val[2];
+#endif
+} __kernel_fsid_t;
+
#endif /* __ARCH_ARM_POSIX_TYPES_H */
diff --git a/libc/sysdeps/linux/i386/bits/kernel_types.h b/libc/sysdeps/linux/i386/bits/kernel_types.h
index 0f3bca51e..4076e2674 100644
--- a/libc/sysdeps/linux/i386/bits/kernel_types.h
+++ b/libc/sysdeps/linux/i386/bits/kernel_types.h
@@ -32,4 +32,12 @@ typedef unsigned short __kernel_old_uid_t;
typedef unsigned short __kernel_old_gid_t;
typedef long long __kernel_loff_t;
+typedef struct {
+#ifdef __USE_ALL
+ int val[2];
+#else
+ int __val[2];
+#endif
+} __kernel_fsid_t;
+
#endif /* __ARCH_I386_POSIX_TYPES_H */
diff --git a/libc/sysdeps/linux/m68k/bits/kernel_types.h b/libc/sysdeps/linux/m68k/bits/kernel_types.h
index 5b020b342..e286305b5 100644
--- a/libc/sysdeps/linux/m68k/bits/kernel_types.h
+++ b/libc/sysdeps/linux/m68k/bits/kernel_types.h
@@ -32,4 +32,12 @@ typedef unsigned short __kernel_old_uid_t;
typedef unsigned short __kernel_old_gid_t;
typedef long long __kernel_loff_t;
+typedef struct {
+#ifdef __USE_ALL
+ int val[2];
+#else
+ int __val[2];
+#endif
+} __kernel_fsid_t;
+
#endif /* __ARCH_M68K_POSIX_TYPES_H */
diff --git a/libc/sysdeps/linux/mips/bits/kernel_types.h b/libc/sysdeps/linux/mips/bits/kernel_types.h
index 118279040..832b1e66b 100644
--- a/libc/sysdeps/linux/mips/bits/kernel_types.h
+++ b/libc/sysdeps/linux/mips/bits/kernel_types.h
@@ -59,4 +59,8 @@ typedef __kernel_gid_t __kernel_old_gid_t;
typedef long long __kernel_loff_t;
#endif
+typedef struct {
+ long val[2];
+} __kernel_fsid_t;
+
#endif /* _ASM_POSIX_TYPES_H */
diff --git a/libc/sysdeps/linux/powerpc/bits/kernel_types.h b/libc/sysdeps/linux/powerpc/bits/kernel_types.h
index a679ca34f..1c8c5e77a 100644
--- a/libc/sysdeps/linux/powerpc/bits/kernel_types.h
+++ b/libc/sysdeps/linux/powerpc/bits/kernel_types.h
@@ -60,5 +60,9 @@ typedef unsigned int __kernel_old_gid_t;
typedef long long __kernel_loff_t;
#endif
+typedef struct {
+ int val[2];
+} __kernel_fsid_t;
+
#endif /* ! defined _PPC_POSIX_TYPES_H && ! defined _PPC64_POSIX_TYPES_H */
diff --git a/libc/sysdeps/linux/sh/bits/kernel_types.h b/libc/sysdeps/linux/sh/bits/kernel_types.h
index 690fe9dd9..0ce21d65b 100644
--- a/libc/sysdeps/linux/sh/bits/kernel_types.h
+++ b/libc/sysdeps/linux/sh/bits/kernel_types.h
@@ -32,4 +32,12 @@ typedef unsigned short __kernel_old_uid_t;
typedef unsigned short __kernel_old_gid_t;
typedef long long __kernel_loff_t;
+typedef struct {
+#ifdef __USE_ALL
+ int val[2];
+#else
+ int __val[2];
+#endif
+} __kernel_fsid_t;
+
#endif /* __ASM_SH_POSIX_TYPES_H */
diff --git a/libc/sysdeps/linux/sparc/bits/kernel_types.h b/libc/sysdeps/linux/sparc/bits/kernel_types.h
index bb53bf600..91546e86d 100644
--- a/libc/sysdeps/linux/sparc/bits/kernel_types.h
+++ b/libc/sysdeps/linux/sparc/bits/kernel_types.h
@@ -62,5 +62,13 @@ typedef unsigned short __kernel_old_gid_t;
typedef long long __kernel_loff_t;
#endif
+typedef struct {
+#ifdef __USE_ALL
+ int val[2];
+#else
+ int __val[2];
+#endif
+} __kernel_fsid_t;
+
#endif /* ! defined __ARCH_SPARC_POSIX_TYPES_H && ! defined __ARCH_SPARC64_POSIX_TYPES_H */
diff --git a/libc/sysdeps/linux/v850/bits/kernel_types.h b/libc/sysdeps/linux/v850/bits/kernel_types.h
index f58510c5e..ac9009883 100644
--- a/libc/sysdeps/linux/v850/bits/kernel_types.h
+++ b/libc/sysdeps/linux/v850/bits/kernel_types.h
@@ -42,4 +42,12 @@ typedef unsigned short __kernel_old_gid_t;
typedef long long __kernel_loff_t;
#endif
+typedef struct {
+#ifdef __USE_ALL
+ int val[2];
+#else
+ int __val[2];
+#endif
+} __kernel_fsid_t;
+
#endif /* __V850_POSIX_TYPES_H__ */