From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1054 invoked by alias); 9 Jul 2002 17:36:56 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 1044 invoked from network); 9 Jul 2002 17:36:55 -0000 Received: from unknown (HELO dragon.nuxi.com) (66.92.13.169) by sources.redhat.com with SMTP; 9 Jul 2002 17:36:55 -0000 Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.5/8.12.2) with ESMTP id g69Hatoi026800 for ; Tue, 9 Jul 2002 10:36:55 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.5/8.12.5/Submit) id g69HatRG026799 for gdb-patches@sources.redhat.com; Tue, 9 Jul 2002 10:36:55 -0700 (PDT) Date: Tue, 09 Jul 2002 12:49:00 -0000 From: "David O'Brien" To: gdb-patches@sources.redhat.com Subject: Re: [PATCH] gdbreplay.c Message-ID: <20020709173655.GA26769@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org References: <20020709172541.GA26506@dragon.nuxi.com> <20020709173322.GA28223@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020709173322.GA28223@nevyn.them.org> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 X-SW-Source: 2002-07/txt/msg00157.txt.bz2 On Tue, Jul 09, 2002 at 01:33:22PM -0400, Daniel Jacobowitz wrote: > In any case, no objection, so please commit it. But when does GCC warn > about a function not being static? Gcc doesn't. :-) But making these functions static gets rid of these warnings: gdb/gdbserver/gdbreplay.c: At top level: gdb/gdbserver/gdbreplay.c:85: warning: no previous prototype for `remote_open' gdb/gdbserver/gdbreplay.c: In function `remote_open': gdb/gdbserver/gdbreplay.c:86: warning: function declaration isn't a prototype