]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Don't include headers from headers -- make inclusions explicit in all C
authorNicholas Nethercote <njn@valgrind.org>
Sun, 26 Jun 2005 14:48:23 +0000 (14:48 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Sun, 26 Jun 2005 14:48:23 +0000 (14:48 +0000)
files.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4031

coregrind/m_debuginfo/dwarf.c
coregrind/m_debuginfo/priv_symtab.h
coregrind/m_debuginfo/stabs.c
coregrind/m_debuginfo/symtab.c

index ffc11bbc68f5cad02fd7031099ba4793dd45d7db..08e5f3c462cc4a679bf7d9a38794a4e0c61d5bc1 100644 (file)
 */
 
 #include "pub_core_basics.h"
+#include "pub_core_debuginfo.h"
 #include "pub_core_libcbase.h"
 #include "pub_core_libcassert.h"
 #include "pub_core_libcprint.h"
 #include "pub_core_mallocfree.h"
 #include "pub_core_options.h"
 
+#include "priv_symtypes.h"
 #include "priv_symtab.h"
 
 
index f74ba2e5e4226e36578b4b427d76241a9ae7322f..2ff12b056d2f88892e296229c2490f5aec7aa516 100644 (file)
@@ -31,9 +31,6 @@
 #ifndef __PRIV_SYMTAB_H
 #define __PRIV_SYMTAB_H
 
-#include "pub_core_debuginfo.h"
-#include "priv_symtypes.h"
-
 /* A structure to hold an ELF symbol (very crudely). */
 typedef 
    struct { 
index f1be29a74350d2453c3a5a5bdb17cd57d66329a4..9c797442e9fb49ae9bbb076197bd77df157d740e 100644 (file)
 */
 
 #include "pub_core_basics.h"
+#include "pub_core_debuginfo.h"
 #include "pub_core_libcbase.h"
 #include "pub_core_libcassert.h"
 #include "pub_core_libcprint.h"
 #include "pub_core_mallocfree.h"
 
+#include "priv_symtypes.h"
 #include "priv_symtab.h"
 
 #include <a.out.h>        /* stabs defns                    */
index 9a516b454418958b50639d2cb17a34dcd7322311..a75aef59d8dc1964144a73518ff7e480c6e542dd 100644 (file)
@@ -44,6 +44,8 @@
 #include "pub_core_profile.h"
 #include "pub_core_redir.h"
 #include "pub_core_tooliface.h"     // For VG_(needs).data_syms
+
+#include "priv_symtypes.h"
 #include "priv_symtab.h"
 
 #include <elf.h>          /* ELF defns */