projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add prototype for BSD/GNU stdio *_unlocked extension functions
[musl]
/
include
/
sys
/
mman.h
diff --git
a/include/sys/mman.h
b/include/sys/mman.h
index
a48c2b4
..
a45f11d
100644
(file)
--- a/
include/sys/mman.h
+++ b/
include/sys/mman.h
@@
-27,6
+27,9
@@
int munlockall (void);
#ifdef _GNU_SOURCE
void *mremap (void *, size_t, size_t, int, ...);
+#endif
+
+#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
int madvise (void *, size_t, int);
#endif