From lkoeller@odie.physik2.uni-rostock.de  Tue Dec 10 08:11:47 1996
Received: from odie.physik2.uni-rostock.de (odie.physik2.uni-rostock.de [139.30.40.28])
          by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id IAA10018
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 10 Dec 1996 08:11:03 -0800 (PST)
Received: (from lkoeller@localhost)
          by odie.physik2.uni-rostock.de (8.8.3/8.7.3) id RAA01172;
          Tue, 10 Dec 1996 17:10:41 +0100 (MET)
Message-Id: <199612101610.RAA01172@odie.physik2.uni-rostock.de>
Date: Tue, 10 Dec 1996 17:10:41 +0100 (MET)
From: Lars Koeller <Lars_Koeller@odie.physik2.uni-rostock.de>
Reply-To: lkoeller@odie.physik2.uni-rostock.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: /usr/include/netdb.h
X-Send-Pr-Version: 3.2

>Number:         2189
>Category:       misc
>Synopsis:       netdb.h works not with -traditonal cc flag
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    steve
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 10 08:20:01 PST 1996
>Closed-Date:    Sat Aug 16 16:33:17 PDT 1997
>Last-Modified:  Sat Aug 16 16:34:10 PDT 1997
>Originator:     Lars Koeller
>Release:        FreeBSD 2.1.6-RELEASE i386
>Organization:
Department of Physics, University of Rostock, Germany
>Environment:

	FreeBSD 2.1.6.1 RELEASE

>Description:

	gcc/cc -traditional on an file which uses netdb.h gives the
	following error:
	
	/usr/include/netdb.h:139: parse error before `)'


>How-To-Repeat:

	Compile a file which uses netdb.h with the -traditional flag.

>Fix:
	
	Change the line

	const char	*hstrerror __P((int));

	in /usr/include/netdb.h into

	__const char	*hstrerror __P((int));

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->mpp 
Responsible-Changed-By: mpp 
Responsible-Changed-When: Sat Feb 22 20:29:15 PST 1997 
Responsible-Changed-Why:  
I'll field this one. 
Responsible-Changed-From-To: mpp->freebsd-bugs 
Responsible-Changed-By: steve 
Responsible-Changed-When: Sat Aug 16 16:27:44 PDT 1997 
Responsible-Changed-Why:  
Return this back to the orphaned pool of PRs. 
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sat Aug 16 16:33:17 PDT 1997 
State-Changed-Why:  
Patch applied to revsion 1.10 of netdb.h.  Thanks! 
>Unformatted:
