diff options
author | Eric Andersen | 1999-11-06 06:07:27 +0000 |
---|---|---|
committer | Eric Andersen | 1999-11-06 06:07:27 +0000 |
commit | 29d2e362dedf42d60ffebf6756144fb5449e753a (patch) | |
tree | 57ba26bdcf5dae8deb91a3d1a9b47bcc140689a0 /internal.h | |
parent | bc3419069494fac078b316ce3a2f6a232c763c3e (diff) | |
download | busybox-29d2e362dedf42d60ffebf6756144fb5449e753a.zip busybox-29d2e362dedf42d60ffebf6756144fb5449e753a.tar.gz |
Fixed ln, df, and removed redundant stuff from mtab.
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -29,6 +29,7 @@ #include <string.h> #include <unistd.h> #include <sys/stat.h> +#include <mntent.h> /* Some useful definitions */ @@ -145,12 +146,19 @@ extern void my_getpwuid(char* name, uid_t uid); extern void my_getgrgid(char* group, gid_t gid); extern int get_kernel_revision(); extern int get_console_fd(char* tty_name); - +extern struct mntent *findMountPoint(const char *name, const char *table); extern void write_mtab(char* blockDevice, char* directory, char* filesystemType, long flags, char* string_flags); extern void erase_mtab(const char * name); +#if defined BB_MTAB +#define whine_if_fstab_is_missing() {} +#else +extern void whine_if_fstab_is_missing(); +#endif + + #if defined (BB_FSCK_MINIX) || defined (BB_MKFS_MINIX) static inline int bit(char * addr,unsigned int nr) |