#define -> static const int. Also got rid of some big static buffers.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user