Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(381)

Side by Side Diff: fusl/include/sys/swap.h

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698