Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] Add extern of output_command to utils.h
@ 2012-12-20 12:21 Hui Zhu
  2013-01-03 21:41 ` Tom Tromey
  0 siblings, 1 reply; 10+ messages in thread
From: Hui Zhu @ 2012-12-20 12:21 UTC (permalink / raw)
  To: Tom Tromey, gdb-patches ml

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 */


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-01-08  2:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-20 12:21 [PATCH] Add extern of output_command to utils.h Hui Zhu
2013-01-03 21:41 ` Tom Tromey
2013-01-04  9:04   ` Hui Zhu
2013-01-04 14:45     ` Tom Tromey
2013-01-05  5:37       ` Hui Zhu
2013-01-06  6:50         ` Joel Brobecker
2013-01-06  7:33           ` Hui Zhu
2013-01-07 15:08             ` Tom Tromey
2013-01-07 15:12               ` Pierre Muller
     [not found]               ` <50eae5d4.e606c20a.75af.fffffc7eSMTPIN_ADDED_BROKEN@mx.google.com>
2013-01-08  2:02                 ` Hui Zhu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox