* cli/cli-cmds.c (_initialize_cli_cmds): Remove "document",

"define", "while", and "if" commands.
	* cli/cli-script.c (while_command, if_command, define_command)
	(document_command): Now static.
	(_initialize_cli_script): New function.
	* cli/cli-script.h (while_command, if_command, define_command)
	(document_command): Don't declare.
This commit is contained in:
Tom Tromey 2012-12-18 19:24:40 +00:00
parent 43e4916ffe
commit 2370e8539c
4 changed files with 45 additions and 35 deletions

View file

@ -25,14 +25,6 @@ struct cmd_list_element;
extern void script_from_file (FILE *stream, const char *file);
extern void document_command (char *, int);
extern void define_command (char *, int);
extern void while_command (char *arg, int from_tty);
extern void if_command (char *arg, int from_tty);
extern void show_user_1 (struct cmd_list_element *c, char *prefix,
char *name, struct ui_file *stream);