* defs.h (directory_command): Don't declare.

* source.c (directory_command): Now static.
This commit is contained in:
Tom Tromey 2012-12-18 19:32:41 +00:00
parent 1dd5fedcf5
commit 28da164739
3 changed files with 6 additions and 3 deletions

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

View 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;

View 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 ();