1 /* 2 Test that the function: 3 int sigaltstack(const stack_t *restrict, stack_t *restrict); 4 is declared. 5 6 Removed restrict keyword from typedef. 7 */ 8 9 #include <signal.h> 10 11 typedef int (*sigaltstack_test) (const stack_t *, stack_t *); 12 13 int dummyfcn(void) 14 { 15 sigaltstack_test dummyvar; 16 dummyvar = sigaltstack; 17 return 0; 18 } 19