[PATCH] Add extern of output_command to utils.h
Hui Zhu
teawater@gmail.com
Thu Dec 20 12:21:00 GMT 2012
Hi Tom,
According to you comments for target ctf patch, I make a patch to add
extern of output_command to utils.h.
Please help me review it.
Thanks,
Hui
2012-12-20 Hui Zhu <hui_zhu@mentor.com>
* tracepoint.c: Remove extern of function output_command.
* utils.h (output_command): New extern.
--- a/tracepoint.c
+++ b/tracepoint.c
@@ -93,11 +93,6 @@ extern void (*deprecated_readline_begin_
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:
--- a/utils.h
+++ b/utils.h
@@ -378,4 +378,6 @@ extern int myread (int, char *, int);
extern ULONGEST align_up (ULONGEST v, int n);
extern ULONGEST align_down (ULONGEST v, int n);
+extern void output_command (char *, int);
+
#endif /* UTILS_H */
More information about the Gdb-patches
mailing list