diff Python/pyfpe.c @ 6507:a00073f2e087 legacy-trunk

Some patches to Lee Busby's fpectl mods that accidentally didn't make it into 1.5a4.
author Guido van Rossum <guido@python.org>
date Mon, 20 Oct 1997 23:50:01 +0000
parents 74c12704a0bd
children bd47ee068b83
line wrap: on
line diff
--- a/Python/pyfpe.c	Mon Oct 20 23:48:01 1997 +0000
+++ b/Python/pyfpe.c	Mon Oct 20 23:50:01 1997 +0000
@@ -1,6 +1,5 @@
 #include "config.h"
 #include "pyfpe.h"
-
 /* 
  * The signal handler for SIGFPE is actually declared in an external
  * module fpectl, or as preferred by the user.  These variable
@@ -12,5 +11,5 @@
 #ifdef WANT_SIGFPE_HANDLER
 jmp_buf PyFPE_jbuf;
 int PyFPE_counter = 0;
-double PyFPE_dummy(){return(1.0);}
+double PyFPE_dummy(void *dummy){ return 1.0; }
 #endif