| OLD | NEW |
| 1 #ifndef _SYS_SWAP_H | 1 #ifndef _SYS_SWAP_H |
| 2 #define _SYS_SWAP_H | 2 #define _SYS_SWAP_H |
| 3 | 3 |
| 4 #ifdef __cplusplus | 4 #ifdef __cplusplus |
| 5 extern "C" { | 5 extern "C" { |
| 6 #endif | 6 #endif |
| 7 | 7 |
| 8 #define SWAP_FLAG_PREFER 0x8000 |
| 9 #define SWAP_FLAG_PRIO_MASK 0x7fff |
| 10 #define SWAP_FLAG_PRIO_SHIFT 0 |
| 11 #define SWAP_FLAG_DISCARD 0x10000 |
| 8 | 12 |
| 9 #define»SWAP_FLAG_PREFER 0x8000 | 13 int swapon(const char*, int); |
| 10 #define»SWAP_FLAG_PRIO_MASK 0x7fff | 14 int swapoff(const char*); |
| 11 #define»SWAP_FLAG_PRIO_SHIFT 0 | |
| 12 #define SWAP_FLAG_DISCARD 0x10000 | |
| 13 | |
| 14 int swapon (const char *, int); | |
| 15 int swapoff (const char *); | |
| 16 | 15 |
| 17 #ifdef __cplusplus | 16 #ifdef __cplusplus |
| 18 } | 17 } |
| 19 #endif | 18 #endif |
| 20 | 19 |
| 21 #endif | 20 #endif |
| OLD | NEW |