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/arch/amd64 | |
parent | 50fda09ac79b2dc1aa31fbced8d19b23d683fbab (diff) | |
download | gem5-39a055645f77e0fa7bf49406635dba6bd65e361f.tar.xz |
includes: sort all includes
Diffstat (limited to 'util/statetrace/arch/amd64')
-rw-r--r-- | util/statetrace/arch/amd64/tracechild.cc | 9 | ||||
-rw-r--r-- | util/statetrace/arch/amd64/tracechild.hh | 5 |
2 files changed, 8 insertions, 6 deletions
diff --git a/util/statetrace/arch/amd64/tracechild.cc b/util/statetrace/arch/amd64/tracechild.cc index 5d3b660ab..1aec5ec97 100644 --- a/util/statetrace/arch/amd64/tracechild.cc +++ b/util/statetrace/arch/amd64/tracechild.cc @@ -28,12 +28,13 @@ * Authors: Gabe Black */ -#include <iostream> -#include <iomanip> -#include <errno.h> #include <sys/ptrace.h> #include <stdint.h> -#include <string.h> + +#include <cerrno> +#include <cstring> +#include <iomanip> +#include <iostream> #include "arch/amd64/tracechild.hh" diff --git a/util/statetrace/arch/amd64/tracechild.hh b/util/statetrace/arch/amd64/tracechild.hh index 6f28bc0bd..7adbec59e 100644 --- a/util/statetrace/arch/amd64/tracechild.hh +++ b/util/statetrace/arch/amd64/tracechild.hh @@ -31,9 +31,10 @@ #ifndef REGSTATE_AMD64_HH #define REGSTATE_AMD64_HH -#include <sys/user.h> -#include <sys/types.h> #include <sys/ptrace.h> +#include <sys/types.h> +#include <sys/user.h> + #include <cassert> #include <string> |