From owner-freebsd-bugs Thu Mar 30 19:30:08 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA11140 for bugs-outgoing; Thu, 30 Mar 1995 19:30:08 -0800 Received: (from gnats@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA11132; Thu, 30 Mar 1995 19:30:04 -0800 Date: Thu, 30 Mar 1995 19:30:04 -0800 Message-Id: <199503310330.TAA11132@freefall.cdrom.com> From: J Wunsch Reply-To: J Wunsch To: freebsd-bugs Subject: kern/287: Iconsistent header files In-Reply-To: Your message of Fri, 31 Mar 1995 05:03:27 +0200 <199503310303.FAA05509@uriah.heep.sax.de> Sender: bugs-owner@FreeBSD.org Precedence: bulk >Number: 287 >Category: kern >Synopsis: Several header files are not consistent >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs (FreeBSD bugs mailing list) >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 30 19:30:02 1995 >Originator: Joerg Wunsch >Organization: >Release: FreeBSD 2.1.0-Development i386 >Environment: 950322 SNAP >Description: The following inconsistencies have been reported by Mahesh Neelakanta 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 which is obsoleted, use 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: >Audit-Trail: >Unformatted: