From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7602 invoked by alias); 20 Dec 2012 12:21:51 -0000 Received: (qmail 7590 invoked by uid 22791); 20 Dec 2012 12:21:49 -0000 X-SWARE-Spam-Status: No, hits=-4.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ob0-f182.google.com (HELO mail-ob0-f182.google.com) (209.85.214.182) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 20 Dec 2012 12:21:44 +0000 Received: by mail-ob0-f182.google.com with SMTP id 16so3150541obc.41 for ; Thu, 20 Dec 2012 04:21:43 -0800 (PST) Received: by 10.60.32.147 with SMTP id j19mr7825479oei.68.1356006103731; Thu, 20 Dec 2012 04:21:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.60.84.5 with HTTP; Thu, 20 Dec 2012 04:21:03 -0800 (PST) From: Hui Zhu Date: Thu, 20 Dec 2012 12:21:00 -0000 Message-ID: Subject: [PATCH] Add extern of output_command to utils.h To: Tom Tromey , gdb-patches ml Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-12/txt/msg00739.txt.bz2 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 * 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 */