From a22c69b9801ab4711fb9e740c348f826e00ac7f2 Mon Sep 17 00:00:00 2001 From: diego Date: Wed, 14 Jul 2010 13:49:08 +0000 Subject: configure: use correct arguments in signal handler tests 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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31735 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 29455048b5..ea836594e2 100755 --- a/configure +++ b/configure @@ -1646,7 +1646,7 @@ if x86 && test "$_runtime_cpudetection" = no ; then 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; @@ -4878,7 +4878,7 @@ if test "$_gif" = yes ; then 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); -- cgit v1.2.3