summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc/sys/posix_madvise.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/posix_madvise.c b/lib/libc/sys/posix_madvise.c
index 4952c5cc77a..be310dbd7df 100644
--- a/lib/libc/sys/posix_madvise.c
+++ b/lib/libc/sys/posix_madvise.c
@@ -1,9 +1,11 @@
-/* $OpenBSD: posix_madvise.c,v 1.1 2010/05/18 22:24:55 tedu Exp $ */
+/* $OpenBSD: posix_madvise.c,v 1.2 2014/07/10 12:46:28 tedu Exp $ */
/*
* Ted Unangst wrote this file and placed it into the public domain.
*/
#include <sys/mman.h>
+int _thread_sys_madvise(void *addr, size_t len, int behav);
+
int
posix_madvise(void *addr, size_t len, int behav)
{