diff options
Diffstat (limited to 'libc/kinclude/linuxmt/types.h')
-rw-r--r-- | libc/kinclude/linuxmt/types.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/libc/kinclude/linuxmt/types.h b/libc/kinclude/linuxmt/types.h index 8e5236a..3d32320 100644 --- a/libc/kinclude/linuxmt/types.h +++ b/libc/kinclude/linuxmt/types.h @@ -1,16 +1,7 @@ #ifndef __LINUXMT_TYPES_H #define __LINUXMT_TYPES_H -#include "../arch/types.h" - -/* Throw away _FUNCTION parameters - the syntax is ripped off of Minix's - _PROTOTYPE. Considering Borland did the same thing to MFC on a bigger - scale, I don't think PH will mind :) */ - -/* Yes, this should be in arch/types.h too */ - -#define _FUNCTION(function, params) function() -#define _VFUNCTION(functiom, params) (*function) () +#include <asm/types.h> typedef __u32 off_t; typedef __u16 pid_t; @@ -22,6 +13,7 @@ typedef __u16 nlink_t; typedef __u16 mode_t; typedef __u32 loff_t; typedef __u32 speed_t; +typedef __u16 size_t; typedef __u16 dev_t; typedef __uint ino_t; |