aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-09-24 17:52:08 -0600
committerTom Tromey <tom@tromey.com>2019-09-26 07:35:00 -0600
commit12904d3729fd027714bac97a6b8c28437c37c173 (patch)
tree0b2beb929bb6434a16ef55297279c86acb78f78d /gdb/utils.h
parent41f37a6fb71f2a3de388108f5cdfca9cbe6e9d51 (diff)
downloadgdb-12904d3729fd027714bac97a6b8c28437c37c173.zip
gdb-12904d3729fd027714bac97a6b8c28437c37c173.tar.gz
gdb-12904d3729fd027714bac97a6b8c28437c37c173.tar.bz2
Remove initialize_utils
initialize_utils only registers some commands, so it isn't necessary to run it at any particular time during startup. This patch removes it and merges its contents into _initialize_utils. Tested by the buildbot. gdb/ChangeLog 2019-09-26 Tom Tromey <tom@tromey.com> * utils.h (initialize_utils): Don't declare. * top.c (gdb_init): Don't call initialize_utils. * utils.c (initialize_utils): Remove. Move contents... (_initialize_utils): ... here.
Diffstat (limited to 'gdb/utils.h')
-rw-r--r--gdb/utils.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/utils.h b/gdb/utils.h
index b0b5573..7df86be 100644
--- a/gdb/utils.h
+++ b/gdb/utils.h
@@ -28,8 +28,6 @@
struct completion_match_for_lcd;
class compiled_regex;
-extern void initialize_utils (void);
-
/* String utilities. */
extern bool sevenbit_strings;