summaryrefslogtreecommitdiff
path: root/util-linux/umount.c
diff options
context:
space:
mode:
authorMark Whitley <markw@lineo.com>2001-01-23 22:30:04 +0000
committerMark Whitley <markw@lineo.com>2001-01-23 22:30:04 +0000
commit59ab025363d884deb2013dcaae6c968585a6ec72 (patch)
tree852d97bdc34c44dbcf29cc8b5cd9257a8c90f7b3 /util-linux/umount.c
parent2b8d07c590249991fae975652aae86f5fca91f81 (diff)
downloadbusybox-w32-59ab025363d884deb2013dcaae6c968585a6ec72.tar.gz
busybox-w32-59ab025363d884deb2013dcaae6c968585a6ec72.tar.bz2
busybox-w32-59ab025363d884deb2013dcaae6c968585a6ec72.zip
#define -> static const int. Also got rid of some big static buffers.
Diffstat (limited to 'util-linux/umount.c')
-rw-r--r--util-linux/umount.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/util-linux/umount.c b/util-linux/umount.c
index 40d25f90a..2e2d95de4 100644
--- a/util-linux/umount.c
+++ b/util-linux/umount.c
@@ -28,10 +28,10 @@
28#include <errno.h> 28#include <errno.h>
29 29
30 30
31#define MNT_FORCE 1 31static const int MNT_FORCE = 1;
32#define MS_MGC_VAL 0xc0ed0000 /* Magic number indicatng "new" flags */ 32static const int MS_MGC_VAL = 0xc0ed0000; /* Magic number indicatng "new" flags */
33#define MS_REMOUNT 32 /* Alter flags of a mounted FS. */ 33static const int MS_REMOUNT = 32; /* Alter flags of a mounted FS. */
34#define MS_RDONLY 1 /* Mount read-only. */ 34static const int MS_RDONLY = 1; /* Mount read-only. */
35 35
36extern int mount (__const char *__special_file, __const char *__dir, 36extern int mount (__const char *__special_file, __const char *__dir,
37 __const char *__fstype, unsigned long int __rwflag, 37 __const char *__fstype, unsigned long int __rwflag,