diff options
author | Mark Whitley | 2001-01-23 22:30:04 +0000 |
---|---|---|
committer | Mark Whitley | 2001-01-23 22:30:04 +0000 |
commit | 59ab025363d884deb2013dcaae6c968585a6ec72 (patch) | |
tree | 852d97bdc34c44dbcf29cc8b5cd9257a8c90f7b3 /util-linux/umount.c | |
parent | 2b8d07c590249991fae975652aae86f5fca91f81 (diff) | |
download | busybox-59ab025363d884deb2013dcaae6c968585a6ec72.zip busybox-59ab025363d884deb2013dcaae6c968585a6ec72.tar.gz |
#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.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util-linux/umount.c b/util-linux/umount.c index 40d25f9..2e2d95d 100644 --- a/util-linux/umount.c +++ b/util-linux/umount.c @@ -28,10 +28,10 @@ #include <errno.h> -#define MNT_FORCE 1 -#define MS_MGC_VAL 0xc0ed0000 /* Magic number indicatng "new" flags */ -#define MS_REMOUNT 32 /* Alter flags of a mounted FS. */ -#define MS_RDONLY 1 /* Mount read-only. */ +static const int MNT_FORCE = 1; +static const int MS_MGC_VAL = 0xc0ed0000; /* Magic number indicatng "new" flags */ +static const int MS_REMOUNT = 32; /* Alter flags of a mounted FS. */ +static const int MS_RDONLY = 1; /* Mount read-only. */ extern int mount (__const char *__special_file, __const char *__dir, __const char *__fstype, unsigned long int __rwflag, |