Author: cfinck
Date: Fri Mar 14 19:23:40 2008
New Revision: 32685
URL:
http://svn.reactos.org/svn/reactos?rev=3D32685&view=3Drev
Log:
- Consistently use the C++ wrapper headers (cstdio, cstdlib, ...) around th=
e standard C headers and also add <cstring> for "strtok",
"strcpy" and "str=
ncmp"
- Remove a useless typedef, which causes a warning with newer GCC's
Modified:
trunk/reactos/tools/sysreg/rosboot_test.cpp
trunk/reactos/tools/sysreg/rosboot_test.h
Modified: trunk/reactos/tools/sysreg/rosboot_test.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/sysreg/rosboot_=
test.cpp?rev=3D32685&r1=3D32684&r2=3D32685&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/reactos/tools/sysreg/rosboot_test.cpp (original)
+++ trunk/reactos/tools/sysreg/rosboot_test.cpp Fri Mar 14 19:23:40 2008
@@ -20,13 +20,14 @@
#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>
Modified: trunk/reactos/tools/sysreg/rosboot_test.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/sysreg/rosboot_=
test.h?rev=3D32685&r1=3D32684&r2=3D32685&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/reactos/tools/sysreg/rosboot_test.h (original)
+++ trunk/reactos/tools/sysreg/rosboot_test.h Fri Mar 14 19:23:40 2008
@@ -117,7 +117,7 @@
=
void dumpCheckpoints();
=
-typedef enum DebugState
+enum DebugState
{
DebugStateContinue =3D 1, /* continue debugging */
DebugStateBSODDetected, /* bsod detected */