gdb: Make lines_to_list variable static.
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 12 Nov 2015 09:48:32 +0000 (09:48 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 11 Dec 2015 23:03:05 +0000 (23:03 +0000)
Small clean up, make variable static.

gdb/ChangeLog:

* source.c (lines_to_list): Make static.

gdb/ChangeLog
gdb/source.c

index 03ae010e86aca02e329536d930ea7bf3b66bb3c2..90644d8a6ecf360f8b1c3925efd5eddbab2801d5 100644 (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.
index 8358033786ae28a407465ae93f04615bfb0748c9..e5412bdae5d7855b024a81b82fab54b235582eba 100644 (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)