/*
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License version 2.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 * Test that the function:
 * int posix_madvise(void *, size_t, int)
 * is declared.
 *
 * @pt:ADV
 */

#include <sys/mman.h>

typedef int (*posix_madvise_test) (void *, size_t, int);

static int dummyfcn(void)
{
	posix_madvise_test dummyvar;
	dummyvar = posix_madvise;
	return 0;
}
