Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #include <sys/swap.h> | 1 #include <sys/swap.h> |
| 2 #include "syscall.h" | 2 #include "syscall.h" |
| 3 | 3 |
| 4 int swapon(const char *path, int flags) | 4 int swapon(const char* path, int flags) { |
| 5 { | 5 return syscall(SYS_swapon, path, flags); |
| 6 » return syscall(SYS_swapon, path, flags); | |
| 7 } | 6 } |
| 8 | 7 |
| 9 int swapoff(const char *path) | 8 int swapoff(const char* path) { |
| 10 { | 9 return syscall(SYS_swapoff, path); |
| 11 » return syscall(SYS_swapoff, path); | |
| 12 } | 10 } |
| OLD | NEW |