* printcmd.c (current_display_number): Make it static.
This commit is contained in:
Yao Qi 2013-01-16 14:53:24 +00:00
parent 85e00e8548
commit 5a18e30239
2 changed files with 5 additions and 1 deletions

View 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

View 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
{