diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2015-11-12 09:48:32 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2015-12-11 23:03:05 +0000 |
commit | f43f85715ac097b6ff4bfaed00879eb541428c1a (patch) | |
tree | fc902afbc8b609942162fbbef607a23b769c214a /gdb/source.c | |
parent | 6e0813d359c6eaddc481b3b902ca4ccc1251febe (diff) | |
download | gdb-f43f85715ac097b6ff4bfaed00879eb541428c1a.zip gdb-f43f85715ac097b6ff4bfaed00879eb541428c1a.tar.gz gdb-f43f85715ac097b6ff4bfaed00879eb541428c1a.tar.bz2 |
gdb: Make lines_to_list variable static.
Small clean up, make variable static.
gdb/ChangeLog:
* source.c (lines_to_list): Make static.
Diffstat (limited to 'gdb/source.c')
-rw-r--r-- | gdb/source.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/source.c b/gdb/source.c index 8358033..e5412bd 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -95,7 +95,7 @@ static struct program_space *current_source_pspace; and friends should be rewritten to count characters and see where things are wrapping, but that would be a fair amount of work. */ -int lines_to_list = 10; +static int lines_to_list = 10; static void show_lines_to_list (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value) |