about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-01-12 19:13:59 +0100
committerSzabolcs Nagy <nsz@port70.net>2013-01-12 19:42:39 +0100
commitd650631dad1691ad778b2d7afd77ee77d8546d9a (patch)
tree857b00c03a8f83d6453e73452d46518cb31ef05c
parent645c6d99a58e0e5ab16f58e7498f2f4412a831da (diff)
downloadmusl-d650631dad1691ad778b2d7afd77ee77d8546d9a.tar.gz
musl-d650631dad1691ad778b2d7afd77ee77d8546d9a.tar.xz
musl-d650631dad1691ad778b2d7afd77ee77d8546d9a.zip
add SWAP_FLAG_DISCARD to sys/swap.h
-rw-r--r--include/sys/swap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/swap.h b/include/sys/swap.h
index 1bd6159e..11c0f929 100644
--- a/include/sys/swap.h
+++ b/include/sys/swap.h
@@ -9,6 +9,7 @@ extern "C" {
 #define	SWAP_FLAG_PREFER        0x8000
 #define	SWAP_FLAG_PRIO_MASK     0x7fff
 #define	SWAP_FLAG_PRIO_SHIFT    0
+#define SWAP_FLAG_DISCARD       0x10000
 
 int swapon (const char *, int);
 int swapoff (const char *);