From: Jan Kratochvil Date: Fri, 13 Aug 2010 17:35:39 +0000 (+0000) Subject: gdb/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=44be957ed64cba1b4a5d4f47c9782474ec3a9767;p=binutils-gdb.git gdb/ * cli-logging.c (logging_overwrite, logging_redirect): Make them static. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6746250b83f..dda6e97b9b7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-08-13 Jan Kratochvil + + * cli-logging.c (logging_overwrite, logging_redirect): Make them + static. + 2010-08-13 Ken Werner * python/python.c (gdbpy_solib_name): Remove the const qualifier of diff --git a/gdb/cli/cli-logging.c b/gdb/cli/cli-logging.c index 497a7a3f6e1..af63dccbc0f 100644 --- a/gdb/cli/cli-logging.c +++ b/gdb/cli/cli-logging.c @@ -45,7 +45,7 @@ show_logging_filename (struct ui_file *file, int from_tty, value); } -int logging_overwrite; +static int logging_overwrite; static void show_logging_overwrite (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value) @@ -55,7 +55,7 @@ Whether logging overwrites or appends to the log file is %s.\n"), value); } -int logging_redirect; +static int logging_redirect; static void show_logging_redirect (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)