diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-14 01:48:10 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-14 01:48:10 +0000 |
commit | 6ba29662feacc69946a0b304208b65893ca2dd9d (patch) | |
tree | c8c9b8e11a872388bdb763ef8003efbeae04c078 /mtab.c | |
parent | 8b3393d06ef866aa8ea83ed7c66b2cf80527b36d (diff) | |
download | busybox-w32-6ba29662feacc69946a0b304208b65893ca2dd9d.tar.gz busybox-w32-6ba29662feacc69946a0b304208b65893ca2dd9d.tar.bz2 busybox-w32-6ba29662feacc69946a0b304208b65893ca2dd9d.zip |
Fix mtab so it works on libc5
git-svn-id: svn://busybox.net/trunk/busybox@2070 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'mtab.c')
-rw-r--r-- | mtab.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -5,11 +5,10 @@ | |||
5 | #include <string.h> | 5 | #include <string.h> |
6 | #include <stdio.h> | 6 | #include <stdio.h> |
7 | #include <mntent.h> | 7 | #include <mntent.h> |
8 | #include <sys/mount.h> | ||
9 | #include "busybox.h" | 8 | #include "busybox.h" |
10 | 9 | ||
11 | extern const char mtab_file[]; /* Defined in utility.c */ | 10 | extern const char mtab_file[]; /* Defined in utility.c */ |
12 | 11 | static const int MS_RDONLY = 1; /* Mount read-only. */ | |
13 | 12 | ||
14 | void erase_mtab(const char *name) | 13 | void erase_mtab(const char *name) |
15 | { | 14 | { |