From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18944 invoked by alias); 5 Dec 2002 21:43:39 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 18937 invoked from network); 5 Dec 2002 21:43:38 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 5 Dec 2002 21:43:38 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id gB5LISP13185 for ; Thu, 5 Dec 2002 16:18:28 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gB5LhcD21039 for ; Thu, 5 Dec 2002 16:43:38 -0500 Received: from localhost.localdomain (vpn50-49.rdu.redhat.com [172.16.50.49]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gB5Lhb918803 for ; Thu, 5 Dec 2002 16:43:37 -0500 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id gB5LhWo16510 for gdb@sources.redhat.com; Thu, 5 Dec 2002 14:43:32 -0700 Date: Thu, 05 Dec 2002 13:43:00 -0000 From: Kevin Buettner Message-Id: <1021205214331.ZM16509@localhost.localdomain> To: gdb@sources.redhat.com Subject: strsignal() declaration in lin-lwp.c? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-12/txt/msg00093.txt.bz2 I've just run into a problem in which the definition of strsignal() in lin-lwp.c conflicts with the definition in . Here's the declaration in lin-lwp.c: extern const char *strsignal (int sig); And here's what it looks like in : extern char *strsignal (int __sig) __THROW; The fact that the lin-lwp.c version has a ``const'' is the problem. Could we remove the ``const'' from the lin-lwp.c declaration? It seems that we can't remove the declaration entirely because the declaration that I'm seeing in the header file won't be used if __USE_GNU is undefined. Kevin