projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebd7af6
)
namespace cleanup in sys/mman.h
author
Rich Felker
<dalias@aerifal.cx>
Thu, 3 Mar 2011 05:32:15 +0000
(
00:32
-0500)
committer
Rich Felker
<dalias@aerifal.cx>
Thu, 3 Mar 2011 05:32:15 +0000
(
00:32
-0500)
include/sys/mman.h
patch
|
blob
|
history
diff --git
a/include/sys/mman.h
b/include/sys/mman.h
index 6aede8bd9a7131b74ebee8202b2802579e1325ac..4f8716345919a44ef4c604fdd36934cbeb5f193f 100644
(file)
--- 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 *);