1 /*
2  *  This program is free software; you can redistribute it and/or modify
3  *  it under the terms of the GNU General Public License version 2.
4  *
5  *  This program is distributed in the hope that it will be useful,
6  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
7  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
8  *  GNU General Public License for more details.
9  *
10  * Test that the function:
11  * int munmap(void *, size_t)
12  * is declared.
13  *
14  * @pt:MF
15  * @pt:SHM
16  * @pt:TYM
17  */
18 
19 #include <sys/mman.h>
20 
21 typedef int (*munmap_test) (void *, size_t);
22 
dummyfcn(void)23 static int dummyfcn(void)
24 {
25 	munmap_test dummyvar;
26 	dummyvar = munmap;
27 	return 0;
28 }
29