diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-07-10 12:46:29 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-07-10 12:46:29 +0000 |
commit | 1d5998645c2489cfc7c7f59c490b90688f98f9c1 (patch) | |
tree | 24b17c7b055646b3a7f2e53082bab7c9b3c5ee19 /lib/libc/sys | |
parent | 6c21ddf7014fc89d609864c5dab03f2c60b9eda6 (diff) |
prototype for _thread_sys_madvise
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/posix_madvise.c | 4 |
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) { |