Date: Thu, 30 Mar 1995 19:30:04 -0800 From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-bugs Subject: kern/287: Iconsistent header files Message-ID: <199503310330.TAA11132@freefall.cdrom.com> In-Reply-To: Your message of Fri, 31 Mar 1995 05:03:27 %2B0200 <199503310303.FAA05509@uriah.heep.sax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
>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 <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: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503310330.TAA11132>