Remove some unnecessary inclusions of <sys/cdefs.h> across the tree.
[dragonfly.git] / lib / libc / gen / pmadvise.c
1 /*
2  * The contents of this file are in the public domain.
3  * Written by Garrett A. Wollman, 2000-10-07.
4  *
5  * $FreeBSD: src/lib/libc/gen/pmadvise.c,v 1.3 2003/08/09 03:23:24 bms Exp $
6  * $DragonFly: src/lib/libc/gen/pmadvise.c,v 1.1 2008/10/06 21:01:37 swildner Exp $
7  */
8
9 #include <sys/mman.h>
10
11 int
12 posix_madvise(void *address, size_t size, int how)
13 {
14         return madvise(address, size, how);
15 }