From 59ab025363d884deb2013dcaae6c968585a6ec72 Mon Sep 17 00:00:00 2001 From: Mark Whitley Date: Tue, 23 Jan 2001 22:30:04 +0000 Subject: #define -> static const int. Also got rid of some big static buffers. --- swaponoff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'swaponoff.c') 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); static int whichApp; -#define SWAPON_APP 1 -#define SWAPOFF_APP 2 +static const int SWAPON_APP = 1; +static const int SWAPOFF_APP = 2; static void swap_enable_disable(char *device) -- cgit v1.2.3