diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-08-13 17:35:39 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-08-13 17:35:39 +0000 |
commit | 44be957ed64cba1b4a5d4f47c9782474ec3a9767 (patch) | |
tree | 44199fa7929a5fc3fad59da43bb6a10910288cbf | |
parent | 76d8b686dce35cbc0f1b24a10d7fbe8f418ad48a (diff) | |
download | gdb-44be957ed64cba1b4a5d4f47c9782474ec3a9767.zip gdb-44be957ed64cba1b4a5d4f47c9782474ec3a9767.tar.gz gdb-44be957ed64cba1b4a5d4f47c9782474ec3a9767.tar.bz2 |
gdb/
* cli-logging.c (logging_overwrite, logging_redirect): Make them
static.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/cli/cli-logging.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6746250..dda6e97 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-08-13 Jan Kratochvil <jan.kratochvil@redhat.com> + + * cli-logging.c (logging_overwrite, logging_redirect): Make them + static. + 2010-08-13 Ken Werner <ken.werner@de.ibm.com> * 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 497a7a3..af63dcc 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) |