public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb: move style_set_list/style_show_list declarations to cli/cli-style.h
@ 2024-04-25 17:06 Simon Marchi
  0 siblings, 0 replies; only message in thread
From: Simon Marchi @ 2024-04-25 17:06 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1863e6a54b31a5cda9b34537b40708232a90416c

commit 1863e6a54b31a5cda9b34537b40708232a90416c
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date:   Tue Apr 23 15:22:43 2024 -0400

    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>

Diff:
---
 gdb/cli/cli-style.h | 4 ++++
 gdb/gdbcmd.h        | 4 ----
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gdb/cli/cli-style.h b/gdb/cli/cli-style.h
index 31d40ed65ca..1663b4ee53c 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 92fa9a7bf14..a2e256665b5 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) */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-25 17:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-25 17:06 [binutils-gdb] gdb: move style_set_list/style_show_list declarations to cli/cli-style.h Simon Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).