diff options
author | ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-06-25 16:57:07 +0000 |
---|---|---|
committer | ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-06-25 16:57:07 +0000 |
commit | e1930985430ce289f4fe8525f51050e5d78cc44e (patch) | |
tree | 206f5e39aaed754ba47322468ece20dc11ade144 /src/tools/linux | |
parent | Breakpad DWARF CFI support: Cleanups requested by Neal (diff) | |
download | breakpad-e1930985430ce289f4fe8525f51050e5d78cc44e.tar.xz |
Breakpad: Avoid using the C++ <cfoo> headers.
This patch avoids unnecessary use of the <cfoo> headers in files that don't
actually use the identifiers they declare in the std:: namespace.
It also changes some files to better conform with the "Names and Order of
Includes" rules in the Google C++ Style Guide.
A=jimb R=mark
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@619 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/tools/linux')
-rw-r--r-- | src/tools/linux/dump_syms/dump_syms.cc | 2 | ||||
-rw-r--r-- | src/tools/linux/symupload/sym_upload.cc | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/linux/dump_syms/dump_syms.cc b/src/tools/linux/dump_syms/dump_syms.cc index 9667b38d..67f5ad53 100644 --- a/src/tools/linux/dump_syms/dump_syms.cc +++ b/src/tools/linux/dump_syms/dump_syms.cc @@ -27,8 +27,8 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +#include <stdio.h> #include <string> -#include <cstdio> #include "common/linux/dump_symbols.h" diff --git a/src/tools/linux/symupload/sym_upload.cc b/src/tools/linux/symupload/sym_upload.cc index bd040519..715218d6 100644 --- a/src/tools/linux/symupload/sym_upload.cc +++ b/src/tools/linux/symupload/sym_upload.cc @@ -39,11 +39,11 @@ // cpu: the CPU that the module was built for // symbol_file: the contents of the breakpad-format symbol file -#include <unistd.h> +#include <assert.h> +#include <stdio.h> #include <stdlib.h> +#include <unistd.h> -#include <cstdio> -#include <cassert> #include <functional> #include <iostream> #include <string> |