- Consistently use the C++ wrapper headers (cstdio, cstdlib, ...) around the standard C headers and also add <cstring> for "strtok", "strcpy" and "strncmp"

- Remove a useless typedef, which causes a warning with newer GCC's

svn path=/trunk/; revision=32685
This commit is contained in:
Colin Finck 2008-03-15 00:23:40 +00:00
parent feb0960458
commit 1e2d76a86c
2 changed files with 9 additions and 8 deletions

View file

@ -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>

View file

@ -117,7 +117,7 @@ namespace Sysreg_
void dumpCheckpoints();
typedef enum DebugState
enum DebugState
{
DebugStateContinue = 1, /* continue debugging */
DebugStateBSODDetected, /* bsod detected */