blob: dd28a559265a9348362fb2ca0351db40a0f50adb [file] [log] [blame]
/*
* 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 shm_unlink(const char *)
* is declared.
*
* @pt:SHM
*/
#include <sys/mman.h>
typedef int (*shm_unlink_test)(const char *);
int dummyfcn (void)
{
shm_unlink_test dummyvar;
dummyvar = shm_unlink;
return 0;
}