# HG changeset patch # User diego # Date 1279115348 0 # Node ID 1c19c2e6c5cd467729737b94e9220f468d7b25c1 # Parent bbd4f3ab3341692421adf3a212440c5bbb0ebc6f Give signal handler function in test programs correct argument list. This avoids a number of warnings from those test programs. patch by Giorgio, mywing81 gmail com diff -r bbd4f3ab3341 -r 1c19c2e6c5cd configure --- a/configure Wed Jul 14 08:17:58 2010 +0000 +++ b/configure Wed Jul 14 13:49:08 2010 +0000 @@ -1761,7 +1761,7 @@ cat > $TMPC < #include -void catch(void) { exit(1); } +void catch(int sig) { exit(1); } int main(void) { signal(SIGILL, catch); __asm__ volatile ("$3":::"memory"); return 0; @@ -5171,7 +5171,7 @@ cat > $TMPC << EOF #include #include -void catch(void) { exit(1); } +void catch(int sig) { exit(1); } int main(void) { signal(SIGSEGV, catch); // catch segfault printf("EGifPutExtensionFirst is at address %p\n", EGifPutExtensionFirst);