diff options
author | Trutz Behn <me@trutz.be> | 2015-01-28 18:46:52 +0100 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-01-30 22:02:23 -0500 |
commit | 2d67ae923d11d766d9a6cea714fa487b52579f6a (patch) | |
tree | 58a14d50d8ccd612be1720085a3d26a29b597648 /include/sys | |
parent | c7b05bc81732e9471e8f61e2dc48ff590572724e (diff) | |
download | musl-2d67ae923d11d766d9a6cea714fa487b52579f6a.tar.gz musl-2d67ae923d11d766d9a6cea714fa487b52579f6a.tar.bz2 musl-2d67ae923d11d766d9a6cea714fa487b52579f6a.tar.xz musl-2d67ae923d11d766d9a6cea714fa487b52579f6a.zip |
move MREMAP_MAYMOVE and MREMAP_FIXED out of bits
the definitions are generic for all kernel archs. exposure of these
macros now only occurs on the same feature test as for the function
accepting them, which is believed to be more correct.
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/mman.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/mman.h b/include/sys/mman.h index a34448a6..9fc2db51 100644 --- a/include/sys/mman.h +++ b/include/sys/mman.h @@ -32,6 +32,8 @@ int mlockall (int); int munlockall (void); #ifdef _GNU_SOURCE +#define MREMAP_MAYMOVE 1 +#define MREMAP_FIXED 2 void *mremap (void *, size_t, size_t, int, ...); int remap_file_pages (void *, size_t, int, size_t, int); #endif |