summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-08-12 20:36:35 +0000
committerMiles Bader <miles@gnu.org>1996-08-12 20:36:35 +0000
commit9595d8708f1f423b4db908e65d26c75f0cb5341b (patch)
tree6a99983ac6f9654d5c9d156bbe41f2dc3ab4370a /ext2fs
parent8ede88c32e86a8f507abc5ca9a12498a8a90a160 (diff)
Move __uN/__sN typedefs here.
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/ext2fs.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/ext2fs/ext2fs.h b/ext2fs/ext2fs.h
index 8a4bde9d..80cd3ea6 100644
--- a/ext2fs/ext2fs.h
+++ b/ext2fs/ext2fs.h
@@ -29,8 +29,18 @@
#include <rwlock.h>
#define __hurd__ /* Enable some hurd-specific fields. */
+
+/* Types used by the ext2 header files. */
+typedef u_int32_t __u32;
+typedef int32_t __s32;
+typedef u_int16_t __u16;
+typedef int16_t __s16;
+typedef u_int8_t __u8;
+typedef int8_t __s8;
+
#include "ext2_fs.h"
#include "ext2_fs_i.h"
+
#undef __hurd__
/* Define this if memory objects should not be cached by the kernel.
@@ -42,7 +52,7 @@
int printf (const char *fmt, ...);
/* A block number. */
-typedef u32 block_t;
+typedef __u32 block_t;
/* ---------------------------------------------------------------- */