[MLton-commit] r4475

Stephen Weeks MLton@mlton.org
Sat, 6 May 2006 19:11:27 -0700


Fixed feround.h.

----------------------------------------------------------------------

U   mlton/branches/on-20050822-x86_64-branch/runtime/platform/feround.h
U   mlton/branches/on-20050822-x86_64-branch/runtime/platform/solaris.h

----------------------------------------------------------------------

Modified: mlton/branches/on-20050822-x86_64-branch/runtime/platform/feround.h
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/runtime/platform/feround.h	2006-05-07 02:09:37 UTC (rev 4474)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/platform/feround.h	2006-05-07 02:11:27 UTC (rev 4475)
@@ -1,3 +1,2 @@
-
-int fegetround ();
+int fegetround (void);
 void fesetround (int mode);

Modified: mlton/branches/on-20050822-x86_64-branch/runtime/platform/solaris.h
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/runtime/platform/solaris.h	2006-05-07 02:09:37 UTC (rev 4474)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/platform/solaris.h	2006-05-07 02:11:27 UTC (rev 4475)
@@ -21,14 +21,13 @@
 #include <termios.h>
 #include <ucontext.h>
 
+#include "feround.h"
 #include "setenv.h"
 
 #define FE_TONEAREST 0
 #define FE_DOWNWARD 1
 #define FE_UPWARD 2
 #define FE_TOWARDZERO 3
-int fegetround (void);
-void fesetround (int mode);
 
 #define HAS_FEROUND TRUE
 #define HAS_FPCLASSIFY FALSE