aboutsummaryrefslogtreecommitdiff
path: root/gdb/namespace.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-04-10 11:48:13 -0600
committerTom Tromey <tromey@adacore.com>2024-04-15 11:45:33 -0600
commit12406b2cdab40fd05df65c4fe4aabaf4882fcc8e (patch)
tree18d3e87d9450ee498d254daddc1cedc21a34cdb2 /gdb/namespace.h
parent35d691515799a8cf7b82a1cb934dadb6a85b022f (diff)
downloadbinutils-12406b2cdab40fd05df65c4fe4aabaf4882fcc8e.zip
binutils-12406b2cdab40fd05df65c4fe4aabaf4882fcc8e.tar.gz
binutils-12406b2cdab40fd05df65c4fe4aabaf4882fcc8e.tar.bz2
Remove 'copy_names' parameter from add_using_directive
I noticed that add_using_directive's 'copy_names' parameter is only used by a single caller. This patch removes the parameter and changes that caller to copy the names itself. I chose to use intern here since I suspect the names may well be repeated in a given objfile. Approved-By: John Baldwin <jhb@FreeBSD.org>
Diffstat (limited to 'gdb/namespace.h')
-rw-r--r--gdb/namespace.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/namespace.h b/gdb/namespace.h
index bc9dcf2..232dcc0 100644
--- a/gdb/namespace.h
+++ b/gdb/namespace.h
@@ -125,7 +125,6 @@ extern void add_using_directive (struct using_direct **using_directives,
const char *declaration,
const std::vector<const char *> &excludes,
const unsigned int decl_line,
- int copy_names,
struct obstack *obstack);
#endif /* NAMESPACE_H */