diff options
author | Chase Douglas <chase.douglas@ubuntu.com> | 2011-12-08 14:09:23 -0800 |
---|---|---|
committer | Chase Douglas <chase.douglas@ubuntu.com> | 2011-12-08 14:09:23 -0800 |
commit | 826c9bbf23fd5650cd2ca0e3314e4e8559b1061e (patch) | |
tree | 023d4cca2ca4dda2dcdf0bb93f4a60f57cc11fa6 | |
parent | 1bc40ffa16a3986d901bf602fcf17504afdf6cfc (diff) |
Use C++ headers, such as cstring, instead of C-compatibility headers
-rw-r--r-- | src/environment.cpp | 6 | ||||
-rw-r--r-- | src/process.cpp | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/environment.cpp b/src/environment.cpp index e2d2595..3e23800 100644 --- a/src/environment.cpp +++ b/src/environment.cpp @@ -22,12 +22,12 @@ #include "xorg/gtest/environment.h" #include "xorg/gtest/process.h" -#include <errno.h> -#include <signal.h> -#include <stdlib.h> #include <sys/types.h> #include <unistd.h> +#include <cerrno> +#include <csignal> +#include <cstdlib> #include <cstring> #include <iostream> #include <stdexcept> diff --git a/src/process.cpp b/src/process.cpp index 878b069..d4a4216 100644 --- a/src/process.cpp +++ b/src/process.cpp @@ -1,14 +1,14 @@ #include "xorg/gtest/process.h" -#include <errno.h> -#include <signal.h> -#include <stdlib.h> #include <sys/types.h> #include <sys/wait.h> #include <unistd.h> -#include <string.h> +#include <cerrno> +#include <csignal> #include <cstdio> +#include <cstdlib> +#include <cstring> #include <stdexcept> struct xorg::testing::Process::Private { |