From mika@cs.caltech.edu  Tue Oct 23 00:51:42 2001
Return-Path: <mika@cs.caltech.edu>
Received: from obento.cs.caltech.edu (obento.cs.caltech.edu [131.215.44.101])
	by hub.freebsd.org (Postfix) with ESMTP id 7C88D37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 23 Oct 2001 00:51:42 -0700 (PDT)
Received: from freebsd-login.cs.caltech.edu (freebsd-login.cs.caltech.edu [131.215.45.10])
	by obento.cs.caltech.edu (Postfix) with ESMTP id 3EF614046
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 23 Oct 2001 00:51:40 -0700 (PDT)
Received: (from mika@localhost)
	by freebsd-login.cs.caltech.edu (8.11.3/8.9.3) id f9N7pYO24748;
	Tue, 23 Oct 2001 00:51:34 -0700 (PDT)
Message-Id: <200110230751.f9N7pYO24748@freebsd-login.cs.caltech.edu>
Date: Tue, 23 Oct 2001 00:51:34 -0700 (PDT)
From: mika@cs.caltech.edu
Reply-To: mika@cs.caltech.edu
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject:
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         31448
>Category:       misc
>Synopsis:       /usr/include/unistd.h:124: syntax error before `char'
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 23 01:00:00 PDT 2001
>Closed-Date:    Thu Dec 27 13:00:32 PST 2001
>Last-Modified:  Thu Dec 27 13:01:17 PST 2001
>Originator:     Mika Nystrom
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
California Institute of Technology
>Environment:
 System: FreeBSD freebsd-login 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001 jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC i386
 
 
>Description:
 /usr/include/unistd.h has the const keyword on line 124.  This is
 incorrect because this line is not protected from a K&R C compiler.
 
>How-To-Repeat:
 #include unistd.h and try compiling with cc -traditional

>Fix:
 
 workaround: #define const
 fix: make const keyword appear only when __STDC__ is defined.
 
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->asmodai 
Responsible-Changed-By: asmodai 
Responsible-Changed-When: Sun Oct 28 03:42:38 PST 2001 
Responsible-Changed-Why:  
I am already discussing this with bde and Mike Barcroft. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=31448 
Responsible-Changed-From-To: asmodai->freebsd-bugs 
Responsible-Changed-By: asmodai 
Responsible-Changed-When: Fri Nov 16 02:18:45 PST 2001 
Responsible-Changed-Why:  
Move back to the free pool. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=31448 
State-Changed-From-To: open->closed 
State-Changed-By: mike 
State-Changed-When: Thu Dec 27 13:00:32 PST 2001 
State-Changed-Why:  

Fixed in -CURRENT and -STABLE. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=31448 
>Unformatted:
