From: Rich Felker Date: Thu, 3 Mar 2011 05:32:15 +0000 (-0500) Subject: namespace cleanup in sys/mman.h X-Git-Tag: v0.7.0~48 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a53d2f3425aa32b5770b03acbab12d1df3af7226;p=oweals%2Fmusl.git namespace cleanup in sys/mman.h --- diff --git a/include/sys/mman.h b/include/sys/mman.h index 6aede8bd..4f871634 100644 --- a/include/sys/mman.h +++ b/include/sys/mman.h @@ -25,8 +25,10 @@ int munlock (const void *, size_t); int mlockall (int); int munlockall (void); -/* linux extension */ +#ifdef _GNU_SOURCE void *mremap (void *, size_t, size_t, int, ...); +int madvise (void *, size_t, int); +#endif int shm_open (const char *, int, mode_t); int shm_unlink (const char *);