[MPlayer-cvslog] r31735 - trunk/configure

diego subversion at mplayerhq.hu
Wed Jul 14 15:49:08 CEST 2010


Author: diego
Date: Wed Jul 14 15:49:08 2010
New Revision: 31735

Log:
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

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Wed Jul 14 10:17:58 2010	(r31734)
+++ trunk/configure	Wed Jul 14 15:49:08 2010	(r31735)
@@ -1761,7 +1761,7 @@ if x86 && test "$_runtime_cpudetection" 
       cat > $TMPC <<EOF
 #include <stdlib.h>
 #include <signal.h>
-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 @@ if test "$_gif" = yes ; then
   cat > $TMPC << EOF
 #include <signal.h>
 #include <gif_lib.h>
-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);


More information about the MPlayer-cvslog mailing list