diff options
Diffstat (limited to 'gdb/cli/cli-logging.c')
-rw-r--r-- | gdb/cli/cli-logging.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/cli/cli-logging.c b/gdb/cli/cli-logging.c index 4e7b655..bafc913 100644 --- a/gdb/cli/cli-logging.c +++ b/gdb/cli/cli-logging.c @@ -170,7 +170,7 @@ Usage: set logging on [FILENAME]\n\ set logging redirect [on|off]\n")); } -void +static void show_logging_command (char *args, int from_tty) { if (saved_filename) @@ -191,6 +191,9 @@ show_logging_command (char *args, int from_tty) printf_unfiltered (_("Output will be logged and displayed.\n")); } +/* Provide a prototype to silence -Wmissing-prototypes. */ +extern initialize_file_ftype _initialize_cli_logging; + void _initialize_cli_logging (void) { |