diff options
author | Mark Whitley <markw@lineo.com> | 2001-01-23 22:30:04 +0000 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2001-01-23 22:30:04 +0000 |
commit | 59ab025363d884deb2013dcaae6c968585a6ec72 (patch) | |
tree | 852d97bdc34c44dbcf29cc8b5cd9257a8c90f7b3 /util-linux/umount.c | |
parent | 2b8d07c590249991fae975652aae86f5fca91f81 (diff) | |
download | busybox-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.c | 8 |
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 | 31 | static const int MNT_FORCE = 1; |
32 | #define MS_MGC_VAL 0xc0ed0000 /* Magic number indicatng "new" flags */ | 32 | static const int MS_MGC_VAL = 0xc0ed0000; /* Magic number indicatng "new" flags */ |
33 | #define MS_REMOUNT 32 /* Alter flags of a mounted FS. */ | 33 | static const int MS_REMOUNT = 32; /* Alter flags of a mounted FS. */ |
34 | #define MS_RDONLY 1 /* Mount read-only. */ | 34 | static const int MS_RDONLY = 1; /* Mount read-only. */ |
35 | 35 | ||
36 | extern int mount (__const char *__special_file, __const char *__dir, | 36 | extern 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, |