diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2005-03-05 07:16:21 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:48:48 -0700 |
commit | 733677e2c21b1ea3789c5296c84c1730d9ce498d (patch) | |
tree | fbc1136c4c8cc4f225b23b8211d953f75a617ce3 /klibc_fixups | |
parent | 03fd7a3ad3438c7ae4525215ac58c3d94133cc35 (diff) |
[PATCH] klibc_fixups: remove unneeded stuff
Diffstat (limited to 'klibc_fixups')
-rw-r--r-- | klibc_fixups/malloc.h | 9 | ||||
-rw-r--r-- | klibc_fixups/mntent.h | 39 |
2 files changed, 0 insertions, 48 deletions
diff --git a/klibc_fixups/malloc.h b/klibc_fixups/malloc.h deleted file mode 100644 index 439608e3c4..0000000000 --- a/klibc_fixups/malloc.h +++ /dev/null @@ -1,9 +0,0 @@ -#ifdef __KLIBC__ - -#ifndef _MALLOC_H -#define _MALLOC_H - -#include <stdlib.h> - -#endif /* _MALLOC_H */ -#endif /* __KLIBC__ */ diff --git a/klibc_fixups/mntent.h b/klibc_fixups/mntent.h deleted file mode 100644 index ea79a2dd63..0000000000 --- a/klibc_fixups/mntent.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifdef __KLIBC__ - -#ifndef _MNTENT_H -#define _MNTENT_H - -#include <stdio.h> - -struct mntent -{ - char *mnt_fsname; - char *mnt_dir; - char *mnt_type; - char *mnt_opts; - int mnt_freq; - int mnt_passno; -}; - -static inline FILE *setmntent (const char *file, const char *mode) -{ - return (FILE *) 1; -} - -static inline struct mntent *getmntent (FILE *stream) -{ - static struct mntent mntent = { - .mnt_dir = "/sys", - .mnt_type = "sysfs" - }; - - return &mntent; -} - -static inline int endmntent (FILE *stream) -{ - return 0; -} - -#endif /* _MNTENT_H */ -#endif /* __KLIBC__ */ |