https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263750
Bug ID: 263750
Summary: random_fortuna: standalone module build broken in
stable/12
Product: Base System
Version: 12.3-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
cd /home/src/sys/modules/random_fortuna
/home/src/sys/dev/random/randomdev.c:70:13: error: conflicting types for
'read_random_uio'
static int (read_random_uio)(struct uio *, bool);
^
/home/src/sys/sys/random.h:73:1: note: previous definition is here
read_random_uio(void *a __unused, u_int b __unused)
^
/home/src/sys/dev/random/randomdev.c:96:2: error: use of undeclared identifier
'_read_random_uio'
_read_random_uio = (read_random_uio);
^
/home/src/sys/dev/random/randomdev.c:97:2: error: use of undeclared identifier
'_read_random'
_read_random = (read_random);
^
/home/src/sys/dev/random/randomdev.c:98:2: error: use of undeclared identifier
'_is_random_seeded'
_is_random_seeded = (is_random_seeded);
^
/home/src/sys/dev/random/randomdev.c:160:2: error: conflicting types for
'read_random_uio'
(read_random_uio)(struct uio *uio, bool nonblock)
^
/home/src/sys/sys/random.h:73:1: note: previous definition is here
read_random_uio(void *a __unused, u_int b __unused)
^
/home/src/sys/dev/random/randomdev.c:261:2: error: redefinition of
'read_random'
(read_random)(void *random_buf, u_int len)
^
/home/src/sys/sys/random.h:78:1: note: previous definition is here
read_random(void *a __unused, u_int b __unused)
^
/home/src/sys/dev/random/randomdev.c:295:2: error: redefinition of
'is_random_seeded'
(is_random_seeded)(void)
^
/home/src/sys/sys/random.h:82:1: note: previous definition is here
is_random_seeded(void)
^
7 errors generated.
*** Error code 1
--
You are receiving this mail because:
You are the assignee for the bug.