From j@uriah.heep.sax.de  Thu Mar 30 19:21:54 1995
Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id TAA10971 for <FreeBSD-gnats-submit@freebsd.org>; Thu, 30 Mar 1995 19:21:13 -0800
Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP
	(5.67b+/DEC-Ultrix/4.3) id AA00807; Fri, 31 Mar 1995 05:20:58 +0200
Received: by sax.sax.de (8.6.9/8.6.9-s1) with UUCP
	id FAA18647 for FreeBSD-gnats-submit@freebsd.org; Fri, 31 Mar 1995 05:20:57 +0200
Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id FAA05509; Fri, 31 Mar 1995 05:03:27 +0200
Message-Id: <199503310303.FAA05509@uriah.heep.sax.de>
Date: Fri, 31 Mar 1995 05:03:27 +0200
From: J Wunsch <j@uriah.heep.sax.de>
Reply-To: joerg_wunsch@uriah.heep.sax.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: Iconsistent header files
X-Send-Pr-Version: 3.2

>Number:         287
>Category:       kern
>Synopsis:       Several header files are not consistent
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    joerg
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 30 19:30:02 1995
>Closed-Date:    Fri Apr 5 18:46:59 PST 1996
>Last-Modified:  Fri Apr  5 18:47:35 PST 1996
>Originator:     Joerg Wunsch
>Release:        FreeBSD 2.1.0-Development i386
>Organization:
>Environment:

950322 SNAP

>Description:

The following inconsistencies have been reported by Mahesh Neelakanta
<mahesh@munich.gcomm.com>

When making a kernel with pcvt enabled, he got those errors/warnings:

In file included from ../../i386/isa/pcvt/pcvt_hdr.h:78,
                 from ../../i386/isa/pcvt/pcvt_drv.c:81:
../../../include/malloc.h:2: warning: #warning "this file includes <malloc.h> which is obsoleted, use <stdlib.h> instead"
In file included from ../../../include/malloc.h:5,
                 from ../../i386/isa/pcvt/pcvt_hdr.h:78,
                 from ../../i386/isa/pcvt/pcvt_drv.c:81:
../../../include/stdlib.h:170: conflicting types for `random'
../../../include/sys/libkern.h:56: previous declaration of `random'
../../../include/stdlib.h:170: warning: redundant redeclaration of `random' in same scope
../../../include/sys/libkern.h:56: warning: previous declaration of `random'
In file included from ../../i386/isa/pcvt/pcvt_hdr.h:79,
                 from ../../i386/isa/pcvt/pcvt_drv.c:81:
../../../include/time.h:101: `time' redeclared as different kind of symbol
../../../include/sys/kernel.h:59: previous declaration of `time'
*** Error code 1

Sometimes even the wrong headers are being picked (malloc.h).  Sometimes
we simply need to be consistent.


>How-To-Repeat:


>Fix:
	

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: pst 
State-Changed-When: Wed Feb 7 16:26:36 PST 1996 
State-Changed-Why:  
This should have been fixed, please verify and close out this bug. 


Responsible-Changed-From-To: freebsd-bugs->joerg 
Responsible-Changed-By: pst 
Responsible-Changed-When: Wed Feb 7 16:26:36 PST 1996 
Responsible-Changed-Why:  
State-Changed-From-To: feedback->closed 
State-Changed-By: scrappy 
State-Changed-When: Fri Apr 5 18:46:59 PST 1996 
State-Changed-Why:  

Confirmed that this problem has been fixed  
>Unformatted:


