/* * 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 shmdt(const void *) * is declared. */ #include typedef int (*shmdt_test)(const void *); int dummyfcn (void) { shmdt_test dummyvar; dummyvar = shmdt; return 0; }