diff options
author | Nathan Binkert <nate@binkert.org> | 2011-04-15 10:44:06 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2011-04-15 10:44:06 -0700 |
commit | 39a055645f77e0fa7bf49406635dba6bd65e361f (patch) | |
tree | a7df44358c75ff2de6e6f1549755f72cddb7d735 /util/statetrace/base | |
parent | 50fda09ac79b2dc1aa31fbced8d19b23d683fbab (diff) | |
download | gem5-39a055645f77e0fa7bf49406635dba6bd65e361f.tar.xz |
includes: sort all includes
Diffstat (limited to 'util/statetrace/base')
-rw-r--r-- | util/statetrace/base/regstate.hh | 3 | ||||
-rw-r--r-- | util/statetrace/base/statetrace.cc | 18 | ||||
-rw-r--r-- | util/statetrace/base/tracechild.cc | 10 |
3 files changed, 17 insertions, 14 deletions
diff --git a/util/statetrace/base/regstate.hh b/util/statetrace/base/regstate.hh index bab3485c6..ac350ddba 100644 --- a/util/statetrace/base/regstate.hh +++ b/util/statetrace/base/regstate.hh @@ -31,9 +31,10 @@ #ifndef REGSTATE_H #define REGSTATE_H -#include <string> #include <stdint.h> +#include <string> + class RegState { protected: diff --git a/util/statetrace/base/statetrace.cc b/util/statetrace/base/statetrace.cc index 156983a67..fd6f40925 100644 --- a/util/statetrace/base/statetrace.cc +++ b/util/statetrace/base/statetrace.cc @@ -28,22 +28,22 @@ * Authors: Gabe Black */ -#include "base/arch_check.h" - -#include <cstring> -#include <errno.h> -#include <fstream> -#include <iostream> -#include <netdb.h> #include <netinet/in.h> -#include <stdio.h> -#include <string> #include <sys/ptrace.h> #include <sys/socket.h> #include <sys/types.h> #include <sys/wait.h> +#include <netdb.h> #include <unistd.h> +#include <cerrno> +#include <cstdio> +#include <cstring> +#include <fstream> +#include <iostream> +#include <string> + +#include "base/arch_check.h" #include "tracechild.hh" using namespace std; diff --git a/util/statetrace/base/tracechild.cc b/util/statetrace/base/tracechild.cc index b5665ff37..d22f2fd43 100644 --- a/util/statetrace/base/tracechild.cc +++ b/util/statetrace/base/tracechild.cc @@ -28,13 +28,15 @@ * Authors: Gabe Black */ -#include "tracechild.hh" -#include <cstring> -#include <errno.h> -#include <iostream> #include <sys/ptrace.h> #include <sys/wait.h> +#include <cerrno> +#include <cstring> +#include <iostream> + +#include "tracechild.hh" + using namespace std; bool |