Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 1995 11:22:40 -0500
From:      Garrett Wollman <wollman@halloran-eldar.lcs.mit.edu>
To:        J Wunsch <j@uriah.heep.sax.de>
Cc:        freebsd-bugs@freefall.cdrom.com
Subject:   kern/287: Iconsistent header files
Message-ID:  <9503311622.AA18373@halloran-eldar.lcs.mit.edu>
In-Reply-To: <199503310330.TAA11132@freefall.cdrom.com>
References:  <199503310303.FAA05509@uriah.heep.sax.de> <199503310330.TAA11132@freefall.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 30 Mar 1995 19:30:04 -0800, J Wunsch <j@uriah.heep.sax.de> 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 <malloc.h> which is obsoleted, use <stdlib.h> instead"

Should be <sys/malloc.h>, not <malloc.h>

> ../../../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 <sys/time.h>, not <time.h>.

-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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9503311622.AA18373>