* defs.h (directory_command): Don't declare.
authorTom Tromey <tromey@redhat.com>
Tue, 18 Dec 2012 19:32:41 +0000 (19:32 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 18 Dec 2012 19:32:41 +0000 (19:32 +0000)
* source.c (directory_command): Now static.

gdb/ChangeLog
gdb/defs.h
gdb/source.c

index a43a218c7ac4eec244290138216074fd0c83f819..4557e6cf06e0c0eeb7c18e20d47fd53be2c3aa69 100644 (file)
@@ -1,3 +1,8 @@
+2012-12-18  Tom Tromey  <tromey@redhat.com>
+
+       * defs.h (directory_command): Don't declare.
+       * source.c (directory_command): Now static.
+
 2012-12-18  Tom Tromey  <tromey@redhat.com>
 
        * infcmd.c (all_registers_info, nexti_command, stepi_command)
index 2e0bff383a15531fff18f4ef92b017c6cce95627..b74675fba043903c242f83ecc94d967ece6798ed 100644 (file)
@@ -357,8 +357,6 @@ extern void mod_path (char *, char **);
 
 extern void add_path (char *, char **, int);
 
-extern void directory_command (char *, int);
-
 extern void directory_switch (char *, int);
 
 extern char *source_path;
index 7e14fc6ebcfbec7cde047a80c3274477a9fe59dc..c9e6ba1f211434ea6881f3a28d63ac86cd9b9d53 100644 (file)
@@ -391,7 +391,7 @@ init_source_path (void)
 
 /* Add zero or more directories to the front of the source path.  */
 
-void
+static void
 directory_command (char *dirname, int from_tty)
 {
   dont_repeat ();
This page took 0.035091 seconds and 4 git commands to generate.