aboutsummaryrefslogtreecommitdiff
path: root/swaponoff.c
diff options
context:
space:
mode:
authormarkw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-01-23 22:30:04 +0000
committermarkw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-01-23 22:30:04 +0000
commitb2b4893698607c194acfd2e355154b54273b8880 (patch)
tree852d97bdc34c44dbcf29cc8b5cd9257a8c90f7b3 /swaponoff.c
parentfc2d2e3371dbe137decc3aa2065acd6140226f94 (diff)
downloadbusybox-w32-b2b4893698607c194acfd2e355154b54273b8880.tar.gz
busybox-w32-b2b4893698607c194acfd2e355154b54273b8880.tar.bz2
busybox-w32-b2b4893698607c194acfd2e355154b54273b8880.zip
#define -> static const int. Also got rid of some big static buffers.
git-svn-id: svn://busybox.net/trunk/busybox@1642 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'swaponoff.c')
-rw-r--r--swaponoff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/swaponoff.c b/swaponoff.c
index 85f338932..eda15100b 100644
--- a/swaponoff.c
+++ b/swaponoff.c
@@ -35,8 +35,8 @@ _syscall1(int, swapoff, const char *, path);
35 35
36static int whichApp; 36static int whichApp;
37 37
38#define SWAPON_APP 1 38static const int SWAPON_APP = 1;
39#define SWAPOFF_APP 2 39static const int SWAPOFF_APP = 2;
40 40
41 41
42static void swap_enable_disable(char *device) 42static void swap_enable_disable(char *device)