|
From: <sv...@va...> - 2005-06-26 14:48:28
|
Author: njn
Date: 2005-06-26 15:48:23 +0100 (Sun, 26 Jun 2005)
New Revision: 4031
Log:
Don't include headers from headers -- make inclusions explicit in all C
files.
Modified:
trunk/coregrind/m_debuginfo/dwarf.c
trunk/coregrind/m_debuginfo/priv_symtab.h
trunk/coregrind/m_debuginfo/stabs.c
trunk/coregrind/m_debuginfo/symtab.c
Modified: trunk/coregrind/m_debuginfo/dwarf.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_debuginfo/dwarf.c 2005-06-26 14:43:01 UTC (rev 4030=
)
+++ trunk/coregrind/m_debuginfo/dwarf.c 2005-06-26 14:48:23 UTC (rev 4031=
)
@@ -29,12 +29,14 @@
*/
=20
#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"
=20
+#include "priv_symtypes.h"
#include "priv_symtab.h"
=20
=20
Modified: trunk/coregrind/m_debuginfo/priv_symtab.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_debuginfo/priv_symtab.h 2005-06-26 14:43:01 UTC (re=
v 4030)
+++ trunk/coregrind/m_debuginfo/priv_symtab.h 2005-06-26 14:48:23 UTC (re=
v 4031)
@@ -31,9 +31,6 @@
#ifndef __PRIV_SYMTAB_H
#define __PRIV_SYMTAB_H
=20
-#include "pub_core_debuginfo.h"
-#include "priv_symtypes.h"
-
/* A structure to hold an ELF symbol (very crudely). */
typedef=20
struct {=20
Modified: trunk/coregrind/m_debuginfo/stabs.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_debuginfo/stabs.c 2005-06-26 14:43:01 UTC (rev 4030=
)
+++ trunk/coregrind/m_debuginfo/stabs.c 2005-06-26 14:48:23 UTC (rev 4031=
)
@@ -29,11 +29,13 @@
*/
=20
#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"
=20
+#include "priv_symtypes.h"
#include "priv_symtab.h"
=20
#include <a.out.h> /* stabs defns */
Modified: trunk/coregrind/m_debuginfo/symtab.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_debuginfo/symtab.c 2005-06-26 14:43:01 UTC (rev 403=
0)
+++ trunk/coregrind/m_debuginfo/symtab.c 2005-06-26 14:48:23 UTC (rev 403=
1)
@@ -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"
=20
#include <elf.h> /* ELF defns */
|