aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2024-04-23 15:22:43 -0400
committerSimon Marchi <simon.marchi@efficios.com>2024-04-25 12:58:58 -0400
commit1863e6a54b31a5cda9b34537b40708232a90416c (patch)
tree8bb64af7c86706906cf4473c33ef7a0f01db1784
parent32e41cd6cc20a6500e130661307f5b13dbed1b36 (diff)
downloadgdb-1863e6a54b31a5cda9b34537b40708232a90416c.zip
gdb-1863e6a54b31a5cda9b34537b40708232a90416c.tar.gz
gdb-1863e6a54b31a5cda9b34537b40708232a90416c.tar.bz2
gdb: move style_set_list/style_show_list declarations to cli/cli-style.h
They are defined in cli/cli-style.c. Change-Id: Ic478a3985ff0fd773bd7ba85bb144c6e914d0be6 Approved-By: Tom Tromey <tom@tromey.com>
-rw-r--r--gdb/cli/cli-style.h4
-rw-r--r--gdb/gdbcmd.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/gdb/cli/cli-style.h b/gdb/cli/cli-style.h
index 31d40ed..1663b4e 100644
--- a/gdb/cli/cli-style.h
+++ b/gdb/cli/cli-style.h
@@ -96,6 +96,10 @@ private:
const char *value);
};
+/* Chains containing all defined "set/show style" subcommands. */
+extern struct cmd_list_element *style_set_list;
+extern struct cmd_list_element *style_show_list;
+
/* The file name style. */
extern cli_style_option file_name_style;
diff --git a/gdb/gdbcmd.h b/gdb/gdbcmd.h
index 92fa9a7..a2e2566 100644
--- a/gdb/gdbcmd.h
+++ b/gdb/gdbcmd.h
@@ -29,8 +29,4 @@
#include "cli/cli-script.h"
#include "cli/cli-cmds.h"
-/* Chains containing all defined "set/show style" subcommands. */
-extern struct cmd_list_element *style_set_list;
-extern struct cmd_list_element *style_show_list;
-
#endif /* !defined (GDBCMD_H) */