From owner-freebsd-bugs Fri Mar 31 08:27:09 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id IAA25590 for bugs-outgoing; Fri, 31 Mar 1995 08:27:09 -0800 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id IAA25584 for ; Fri, 31 Mar 1995 08:27:08 -0800 Received: by halloran-eldar.lcs.mit.edu; id AA18373; Fri, 31 Mar 1995 11:22:40 -0500 Date: Fri, 31 Mar 1995 11:22:40 -0500 From: Garrett Wollman Message-Id: <9503311622.AA18373@halloran-eldar.lcs.mit.edu> To: J Wunsch Cc: freebsd-bugs@freefall.cdrom.com Subject: kern/287: Iconsistent header files In-Reply-To: <199503310330.TAA11132@freefall.cdrom.com> References: <199503310303.FAA05509@uriah.heep.sax.de> <199503310330.TAA11132@freefall.cdrom.com> Sender: bugs-owner@FreeBSD.org Precedence: bulk < said: > 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" Should be , not > ../../../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' This is fallout from the above. The kernel random() and libc random() are very different beasts. > 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 Should be , not . -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant