- Consistently use the C++ wrapper headers (cstdio, cstdlib, ...) around the standard...
authorColin Finck <colin@reactos.org>
Sat, 15 Mar 2008 00:23:40 +0000 (00:23 +0000)
committerColin Finck <colin@reactos.org>
Sat, 15 Mar 2008 00:23:40 +0000 (00:23 +0000)
- Remove a useless typedef, which causes a warning with newer GCC's

svn path=/trunk/; revision=32685

reactos/tools/sysreg/rosboot_test.cpp
reactos/tools/sysreg/rosboot_test.h

index 502aaf7..c93b01d 100644 (file)
 #include <iostream>
 #include <vector>
 #include <fstream>
-#include <time.h>
-#include <float.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <assert.h>
-#include <math.h>
-#include <signal.h>
+#include <cassert>
+#include <cfloat>
+#include <cmath>
+#include <csignal>
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
+#include <ctime>
 #ifndef __LINUX__
 #include <io.h>
 #include <errno.h>
index 640ff5e..1b0ea2d 100644 (file)
@@ -117,7 +117,7 @@ namespace Sysreg_
 
        void dumpCheckpoints();
 
-typedef enum DebugState
+enum DebugState
 {
        DebugStateContinue = 1, /* continue debugging */
        DebugStateBSODDetected, /* bsod detected */