aboutsummaryrefslogtreecommitdiff
path: root/gdb/printcmd.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-01-16 14:53:24 +0000
committerYao Qi <yao@codesourcery.com>2013-01-16 14:53:24 +0000
commit5a18e3023970ba2542ebdcbab920acbeabd672ce (patch)
treeac00b281a4269e810343c68a01e76bbdc71d5c1d /gdb/printcmd.c
parent85e00e85485f96aaaef50cf8f2a8567c2c5ac9c0 (diff)
downloadgdb-5a18e3023970ba2542ebdcbab920acbeabd672ce.zip
gdb-5a18e3023970ba2542ebdcbab920acbeabd672ce.tar.gz
gdb-5a18e3023970ba2542ebdcbab920acbeabd672ce.tar.bz2
gdb/
* printcmd.c (current_display_number): Make it static.
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r--gdb/printcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index 0c7eb1e..a576d88 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
{