diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 1999-11-06 06:07:27 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 1999-11-06 06:07:27 +0000 |
commit | 610e4739f7561cb7b2a2e7417052db14e32fd256 (patch) | |
tree | 57ba26bdcf5dae8deb91a3d1a9b47bcc140689a0 /internal.h | |
parent | 210df30f0012b40ce819c119ca00ad31ef76d8b8 (diff) | |
download | busybox-w32-610e4739f7561cb7b2a2e7417052db14e32fd256.tar.gz busybox-w32-610e4739f7561cb7b2a2e7417052db14e32fd256.tar.bz2 busybox-w32-610e4739f7561cb7b2a2e7417052db14e32fd256.zip |
Fixed ln, df, and removed redundant stuff from mtab.
git-svn-id: svn://busybox.net/trunk/busybox@81 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/internal.h b/internal.h index c66c9f116..8d111a6c9 100644 --- a/internal.h +++ b/internal.h | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <string.h> | 29 | #include <string.h> |
30 | #include <unistd.h> | 30 | #include <unistd.h> |
31 | #include <sys/stat.h> | 31 | #include <sys/stat.h> |
32 | #include <mntent.h> | ||
32 | 33 | ||
33 | 34 | ||
34 | /* Some useful definitions */ | 35 | /* Some useful definitions */ |
@@ -145,12 +146,19 @@ extern void my_getpwuid(char* name, uid_t uid); | |||
145 | extern void my_getgrgid(char* group, gid_t gid); | 146 | extern void my_getgrgid(char* group, gid_t gid); |
146 | extern int get_kernel_revision(); | 147 | extern int get_kernel_revision(); |
147 | extern int get_console_fd(char* tty_name); | 148 | extern int get_console_fd(char* tty_name); |
148 | 149 | extern struct mntent *findMountPoint(const char *name, const char *table); | |
149 | extern void write_mtab(char* blockDevice, char* directory, | 150 | extern void write_mtab(char* blockDevice, char* directory, |
150 | char* filesystemType, long flags, char* string_flags); | 151 | char* filesystemType, long flags, char* string_flags); |
151 | extern void erase_mtab(const char * name); | 152 | extern void erase_mtab(const char * name); |
152 | 153 | ||
153 | 154 | ||
155 | #if defined BB_MTAB | ||
156 | #define whine_if_fstab_is_missing() {} | ||
157 | #else | ||
158 | extern void whine_if_fstab_is_missing(); | ||
159 | #endif | ||
160 | |||
161 | |||
154 | #if defined (BB_FSCK_MINIX) || defined (BB_MKFS_MINIX) | 162 | #if defined (BB_FSCK_MINIX) || defined (BB_MKFS_MINIX) |
155 | 163 | ||
156 | static inline int bit(char * addr,unsigned int nr) | 164 | static inline int bit(char * addr,unsigned int nr) |