aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-12-18 19:32:41 +0000
committerTom Tromey <tromey@redhat.com>2012-12-18 19:32:41 +0000
commit28da164739cdb1fd96bf7feb30c14e6ec6fe1a66 (patch)
tree3986fc1db8b2168d4bc2d85a98dd625faaab0bd8 /gdb
parent1dd5fedcf578f75b6f8153c43e990f9306d0e9de (diff)
downloadgdb-28da164739cdb1fd96bf7feb30c14e6ec6fe1a66.zip
gdb-28da164739cdb1fd96bf7feb30c14e6ec6fe1a66.tar.gz
gdb-28da164739cdb1fd96bf7feb30c14e6ec6fe1a66.tar.bz2
* defs.h (directory_command): Don't declare.
* source.c (directory_command): Now static.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/defs.h2
-rw-r--r--gdb/source.c2
3 files changed, 6 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a43a218..4557e6c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
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)
(continue_command, interrupt_target_command): Now static.
(registers_info): Remove declaration.
diff --git a/gdb/defs.h b/gdb/defs.h
index 2e0bff3..b74675f 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -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;
diff --git a/gdb/source.c b/gdb/source.c
index 7e14fc6..c9e6ba1 100644
--- a/gdb/source.c
+++ b/gdb/source.c
@@ -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 ();