The declaration of tui_set_var_cmd is not in sync with the definition.
Since tui_set_var_cmd is only used in the file where it's defined,
remove the declaration and make the definition static.
gdb/ChangeLog:
* tui-win.h (tui_set_var_cmd): Remove.
* tui-win.c (tui_set_var_cmd): Make static.
Change-Id: If4bddbfb573347fb7254fb6f1a940052a72f464f
+2019-11-26 Simon Marchi <simon.marchi@efficios.com>
+
+ * tui-win.h (tui_set_var_cmd): Remove.
+ * tui-win.c (tui_set_var_cmd): Make static.
+
2019-11-26 Simon Marchi <simon.marchi@efficios.com>
* breakpoint.h (hbreak_command_wrapper, thbreak_command_wrapper,
/* The set_func hook of "set tui ..." commands that affect the window
borders on the TUI display. */
-void
+
+static void
tui_set_var_cmd (const char *null_args,
int from_tty, struct cmd_list_element *c)
{
/* Create or get the TUI command list. */
struct cmd_list_element **tui_get_cmd_list (void);
-/* Set a TUI variable. */
-void tui_set_var_cmd (char *, int, struct cmd_list_element *);
-
#endif /* TUI_TUI_WIN_H */