gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 13 Aug 2010 17:35:39 +0000 (17:35 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 13 Aug 2010 17:35:39 +0000 (17:35 +0000)
* cli-logging.c (logging_overwrite, logging_redirect): Make them
static.

gdb/ChangeLog
gdb/cli/cli-logging.c

index 6746250..dda6e97 100644 (file)
@@ -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
index 497a7a3..af63dcc 100644 (file)
@@ -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)