Mercurial > mplayer.hg
changeset 31482:df32031b0807
Fix catch() callback function declaration in two compile tests.
author | diego |
---|---|
date | Thu, 24 Jun 2010 08:15:46 +0000 |
parents | 5bae2ef7b9ff |
children | a295c59e1a48 |
files | configure |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Thu Jun 24 08:14:32 2010 +0000 +++ b/configure Thu Jun 24 08:15:46 2010 +0000 @@ -1725,7 +1725,7 @@ cat > $TMPC <<EOF #include <stdlib.h> #include <signal.h> -void catch() { exit(1); } +void catch(void) { exit(1); } int main(void) { signal(SIGILL, catch); __asm__ volatile ("$3":::"memory"); return 0; @@ -5133,7 +5133,7 @@ cat > $TMPC << EOF #include <signal.h> #include <gif_lib.h> -void catch() { exit(1); } +void catch(void) { exit(1); } int main(void) { signal(SIGSEGV, catch); // catch segfault printf("EGifPutExtensionFirst is at address %p\n", EGifPutExtensionFirst);