Subject: kern/4306: pseudo-device rnd compile problem
To: None <gnats-bugs@gnats.netbsd.org>
From: Havard Eidnes <he@vader.runit.sintef.no>
List: netbsd-bugs
Date: 10/20/1997 19:41:02
>Number: 4306
>Category: kern
>Synopsis: pseudo-device rnd does not compile
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 20 10:50:02 1997
>Last-Modified:
>Originator: Havard Eidnes
>Organization:
SINTEF RUNIT
>Release: NetBSD-current of 19 Oct 1997
>Environment:
System: NetBSD vader.runit.sintef.no 1.2G NetBSD 1.2G (VADER) #9: Mon Oct 20 19:24:39 MEST 1997 he@vader.runit.sintef.no:/usr/src/sys/arch/i386/compile/VADER i386
>Description:
Compile of a kernel with the random pseudo-device terminates
with
cc1: warnings being treated as errors
../../../../dev/rnd.c:728: warning: function declaration isn't a prototype
*** Error code 1
>How-To-Repeat:
Compile yesterday's kernel sources with a rnd pseudo-device
>Fix:
Fix /sys/sys/rnd.h as follows
*** rnd.h.old Sun Oct 19 16:14:33 1997
--- rnd.h Mon Oct 20 19:03:02 1997
***************
*** 128,131 ****
--- 128,132 ----
void rnd_attach_source __P((rndsource_element_t *, char *,
u_int32_t));
+ void rnd_detach_source __P((rndsource_element_t *));
#endif /* _KERNEL */
>Audit-Trail:
>Unformatted: