From: Yao Qi Date: Wed, 16 Jan 2013 14:53:24 +0000 (+0000) Subject: gdb/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a18e3023970ba2542ebdcbab920acbeabd672ce;p=binutils-gdb.git gdb/ * printcmd.c (current_display_number): Make it static. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e7fc5c8a09b..1014bb4dcb4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2013-01-16 Yao Qi + + * printcmd.c (current_display_number): Make it static. + 2013-01-16 Yao Qi * infcmd.c (step_once): Don't check '!single_inst' as it was diff --git a/gdb/printcmd.c b/gdb/printcmd.c index 0c7eb1e3c4f..a576d886121 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -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 {