aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-14 01:48:10 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-14 01:48:10 +0000
commit741f2c9898d4f398ddb2f1d8f33e97f0eedd676b (patch)
treec8c9b8e11a872388bdb763ef8003efbeae04c078
parentb9a1e56a80c98c883ff9af9cf37dd74d5afa1e22 (diff)
downloadbusybox-w32-741f2c9898d4f398ddb2f1d8f33e97f0eedd676b.tar.gz
busybox-w32-741f2c9898d4f398ddb2f1d8f33e97f0eedd676b.tar.bz2
busybox-w32-741f2c9898d4f398ddb2f1d8f33e97f0eedd676b.zip
Fix mtab so it works on libc5
-rw-r--r--mtab.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mtab.c b/mtab.c
index 8411fe1fa..049765775 100644
--- a/mtab.c
+++ b/mtab.c
@@ -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
11extern const char mtab_file[]; /* Defined in utility.c */ 10extern const char mtab_file[]; /* Defined in utility.c */
12 11static const int MS_RDONLY = 1; /* Mount read-only. */
13 12
14void erase_mtab(const char *name) 13void erase_mtab(const char *name)
15{ 14{