From: Tom Tromey Date: Tue, 18 Dec 2012 19:32:41 +0000 (+0000) Subject: * defs.h (directory_command): Don't declare. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=28da164739cdb1fd96bf7feb30c14e6ec6fe1a66;p=binutils-gdb.git * defs.h (directory_command): Don't declare. * source.c (directory_command): Now static. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a43a218c7ac..4557e6cf06e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-12-18 Tom Tromey + + * defs.h (directory_command): Don't declare. + * source.c (directory_command): Now static. + 2012-12-18 Tom Tromey * infcmd.c (all_registers_info, nexti_command, stepi_command) diff --git a/gdb/defs.h b/gdb/defs.h index 2e0bff383a1..b74675fba04 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 7e14fc6ebcf..c9e6ba1f211 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 ();