gdb/
authorYao Qi <yao@codesourcery.com>
Wed, 16 Jan 2013 14:53:24 +0000 (14:53 +0000)
committerYao Qi <yao@codesourcery.com>
Wed, 16 Jan 2013 14:53:24 +0000 (14:53 +0000)
* printcmd.c (current_display_number): Make it static.

gdb/ChangeLog
gdb/printcmd.c

index e7fc5c8a09bd5005b1e55379081445b16861ced7..1014bb4dcb4ae25b2c48655aea7470c19210f70e 100644 (file)
@@ -1,3 +1,7 @@
+2013-01-16  Yao Qi  <yao@codesourcery.com>
+
+       * printcmd.c (current_display_number): Make it static.
+
 2013-01-16  Yao Qi  <yao@codesourcery.com>
 
        * infcmd.c (step_once): Don't check '!single_inst' as it was
index 0c7eb1e3c4f2d60fa43e651498efe0b59b7f62e8..a576d8861216d8e39118fce3a499dd698837f9ad 100644 (file)
@@ -122,7 +122,7 @@ show_print_symbol_filename (struct ui_file *file, int from_tty,
    So that we can disable it if we get a signal within it.
    -1 when not doing one.  */
 
-int current_display_number;
+static int current_display_number;
 
 struct display
   {