Further reduced differences and include all identical msvcrt targets in crtdll makefile.
[reactos.git] / reactos / lib / msvcrt / except / matherr.c
index a87868d..01de05c 100644 (file)
@@ -1,28 +1,35 @@
+#include <windows.h>
+#include <ntos/except.h>
+
+
 struct _exception {
-        int type;
-        char *name;
-        double arg1;
-        double arg2;
-        double retval;
-        } ;
-
-int _matherr(struct _exception *e)
+    int type;
+    char* name;
+    double arg1;
+    double arg2;
+    double retval;
+} ;
+
+
+int _matherr(struct _exception* e)
 {
     return 0;
 }
 
+
 // not exported by NTDLL
-void __setusermatherr(int (* handler)(struct _exception *))
+void __setusermatherr(int (*handler)(struct _exception*))
 {
 
 }
 
+
 #define _FPIEEE_RECORD void
 
 int _fpieee_flt(
         unsigned long exception_code,
-        struct _EXCEPTION_POINTERS *ExceptionPointer,
-        int (* handler)(_FPIEEE_RECORD *)
+        struct _EXCEPTION_POINTERSExceptionPointer,
+        int (*handler)(_FPIEEE_RECORD*)
         )
 {
     return 0;