2013-01-08 Hui Zhu <hui_zhu@mentor.com>

* printcmd.c: Remove define of function output_command.
	* tracepoint.c: Remove extern of function output_command.
	* valprint.h: (output_command): New extern.
This commit is contained in:
Hui Zhu 2013-01-08 02:00:34 +00:00
parent b85fba34f7
commit 03cdf6804a
4 changed files with 8 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2013-01-08 Hui Zhu <hui_zhu@mentor.com>
* printcmd.c: Remove define of function output_command.
* tracepoint.c: Remove extern of function output_command.
* valprint.h: (output_command): New extern.
2013-01-07 Tom Tromey <tromey@redhat.com>
* objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):

View File

@ -172,8 +172,6 @@ static int display_number;
/* Prototypes for exported functions. */
void output_command (char *, int);
void _initialize_printcmd (void);
/* Prototypes for local functions. */

View File

@ -93,11 +93,6 @@ extern void (*deprecated_readline_begin_hook) (char *, ...);
extern char *(*deprecated_readline_hook) (char *);
extern void (*deprecated_readline_end_hook) (void);
/* GDB commands implemented in other modules:
*/
extern void output_command (char *, int);
/*
Tracepoint.c:

View File

@ -203,4 +203,6 @@ extern void generic_printstr (struct ui_file *stream, struct type *type,
int quote_char, int c_style_terminator,
const struct value_print_options *options);
extern void output_command (char *exp, int from_tty);
#endif