gdb: Make lines_to_list variable static.

Small clean up, make variable static.

gdb/ChangeLog:

	* source.c (lines_to_list): Make static.
This commit is contained in:
Andrew Burgess 2015-11-12 09:48:32 +00:00
parent 6e0813d359
commit f43f85715a
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
* source.c (lines_to_list): Make static.
2015-12-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
* linux-thread-db.c (find_new_threads_callback): Use record_thread.

View File

@ -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)