This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[obv] two variables made static


http://sourceware.org/ml/gdb-cvs/2010-08/msg00069.html

--- src/gdb/ChangeLog	2010/08/13 16:19:47	1.12081
+++ src/gdb/ChangeLog	2010/08/13 17:35:36	1.12082
@@ -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
--- src/gdb/cli/cli-logging.c	2010/05/17 19:28:12	1.22
+++ src/gdb/cli/cli-logging.c	2010/08/13 17:35:39	1.23
@@ -45,7 +45,7 @@
 		    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 @@
 		    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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]