From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19955 invoked by alias); 21 Feb 2008 00:28:35 -0000 Received: (qmail 19946 invoked by uid 22791); 21 Feb 2008 00:28:34 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 21 Feb 2008 00:28:17 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m1L0SFpS026709 for ; Wed, 20 Feb 2008 19:28:15 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m1L0SFGR030216 for ; Wed, 20 Feb 2008 19:28:15 -0500 Received: from lindt.uglyboxes.com (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m1L0SDCE029415 for ; Wed, 20 Feb 2008 19:28:14 -0500 Message-ID: <47BCC541.5040500@redhat.com> Date: Thu, 21 Feb 2008 00:28:00 -0000 From: Keith Seitz User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: insight Subject: [PATCH] Fix test suite compiler warnings Content-Type: multipart/mixed; boundary="------------030906060204070808080509" X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2008-q1/txt/msg00047.txt.bz2 This is a multi-part message in MIME format. --------------030906060204070808080509 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 313 Hi, I've committed the following patch which eradicates some compiler warnings in the test suite. My thanks to Markus Deuling for pointing these out. Keith ChangeLog 2008-02-20 Keith Seitz * stack1.c: Include stdlib.h * simple.c: Likewise. Include string.h. --------------030906060204070808080509 Content-Type: text/x-patch; name="test-includes.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="test-includes.patch" Content-length: 806 Index: stack1.c =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.gdbtk/stack1.c,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 stack1.c --- stack1.c 7 Feb 2000 00:19:45 -0000 1.1.1.1 +++ stack1.c 21 Feb 2008 00:24:24 -0000 @@ -1,3 +1,5 @@ +#include + /* Functions defined in other files */ extern void extern_func1_1 (int a, char *b, unsigned long c); Index: simple.c =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.gdbtk/simple.c,v retrieving revision 1.2 diff -u -p -r1.2 simple.c --- simple.c 10 Sep 2002 02:13:16 -0000 1.2 +++ simple.c 21 Feb 2008 00:24:24 -0000 @@ -1,3 +1,6 @@ +#include +#include + int main(int argc, char * argv[]) { --------------030906060204070808080509--