From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28725 invoked by alias); 12 Mar 2012 11:43:40 -0000 Received: (qmail 28627 invoked by uid 22791); 12 Mar 2012 11:43:39 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.allinea.com (HELO mail.allinea.com) (94.125.131.200) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 12 Mar 2012 11:43:22 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.allinea.com (Postfix) with ESMTP id CDD6712E269 for ; Mon, 12 Mar 2012 11:43:20 +0000 (GMT) Received: from mail.allinea.com ([127.0.0.1]) by localhost (mail.allinea.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JNpGzjL4WYkf for ; Mon, 12 Mar 2012 11:43:20 +0000 (GMT) Received: from [192.168.0.6] (cpc11-sotn9-2-0-cust158.15-1.cable.virginmedia.com [81.101.103.159]) (Authenticated sender: cjanuary) by mail.allinea.com (Postfix) with ESMTPSA id 7C0BE12E226 for ; Mon, 12 Mar 2012 11:43:20 +0000 (GMT) Message-ID: <1331552600.2783.7.camel@gumtree> Subject: [PATCH 1/2]: Fix clean compile on AIX 5.3 From: Chris January To: gdb-patches@sourceware.org Date: Mon, 12 Mar 2012 11:43:00 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 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-03/txt/msg00390.txt.bz2 Add some missing prototypes (required due to -Wmissing-prototypes). (Assignment on file) 2012-03-12 Chris January * aix-thread.c (_initialize_aix_thread): Add prototype. * rs6000-nat.c (_initialize_rs6000_nat): Ditto. * xcoffsolib.c (_initialize_xcoffsolib): Ditto. --- diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c index 0a9fae3..f9787e3 100644 --- a/gdb/aix-thread.c +++ b/gdb/aix-thread.c @@ -1829,6 +1830,8 @@ init_aix_thread_ops (void) /* Module startup initialization function, automagically called by init.c. */ +void _initialize_aix_thread (void); + void _initialize_aix_thread (void) { diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c index 31ef64a..117ca01 100644 --- a/gdb/rs6000-nat.c +++ b/gdb/rs6000-nat.c @@ -1214,6 +1214,8 @@ find_toc_address (CORE_ADDR pc) } +void _initialize_rs6000_nat (void); + void _initialize_rs6000_nat (void) { diff --git a/gdb/xcoffsolib.c b/gdb/xcoffsolib.c index 0a4f5fe..46cf808 100644 --- a/gdb/xcoffsolib.c +++ b/gdb/xcoffsolib.c @@ -158,6 +158,8 @@ sharedlibrary_command (char *pattern, int from_tty) } } +void _initialize_xcoffsolib (void); + void _initialize_xcoffsolib (void) {