summaryrefslogtreecommitdiff
path: root/gdb/buildsym.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-21 09:21:18 -0600
committerTom Tromey <tom@tromey.com>2018-07-20 09:42:49 -0600
commitb80a981d0867f554d382eef9fc16081b12ac0543 (patch)
tree6cf6dd5aad6279c353acad521091d9fe1c364973 /gdb/buildsym.c
parentddb7060226028e5e18c340a6d072337ead3209cd (diff)
downloadbinutils-gdb-b80a981d0867f554d382eef9fc16081b12ac0543.tar.gz
Remove EXTERN from buildsym.h
Nothing in buildsym.h relies on the "EXTERN" method of declaration/definition, so remove the traces. gdb/ChangeLog 2018-07-20 Tom Tromey <tom@tromey.com> * buildsym.h (EXTERN): Don't define or undef. * buildsym.c (EXTERN): Don't define.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r--gdb/buildsym.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index e6eb711f4b9..dffd077ed69 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -62,6 +62,7 @@
*/
#include "defs.h"
+#include "buildsym.h"
#include "bfd.h"
#include "gdb_obstack.h"
#include "symtab.h"
@@ -79,12 +80,6 @@
#include "addrmap.h"
#include <algorithm>
-/* Ask buildsym.h to define the vars it normally declares `extern'. */
-#define EXTERN
-/**/
-#include "buildsym.h" /* Our own declarations. */
-#undef EXTERN
-
/* For cleanup_undefined_stabs_types and finish_global_stabs (somewhat
questionable--see comment where we call them). */