svn commit: r301713 - head/sys/dev/random
Simon J. Gerraty
sjg at juniper.net
Thu Jun 9 13:27:40 UTC 2016
Glen Barber <gjb at FreeBSD.org> wrote:
> >
> > -void read_rate_increment(u_int);
> > +void random_harvest_queue(const void *, u_int, u_int,
> > + enum random_entropy_source);
> > +void read_rate_increment(u_int);
> >
> > #define RANDOM_HARVESTQ_BOOT_ENTROPY_FILE "/boot/entropy"
> >
>
> This breaks sparc64.
Looks like defined(DEV_RANDOM) is relevant.
Wrapping the prototype in random_harvestq.h in
#ifndef DEV_RANDOM
would avoid this issue.
But backing out until we check if that fixes the original issue steve
hit is probably best?
>
> cc1: warnings being treated as errors
> In file included from /usr/src/sys/modules/random_other/../../dev/random/other_algorithm.c:62:
> /usr/src/sys/dev/random/random_harvestq.h:47: warning: redundant redeclaration of 'random_harvest_queue' [-Wredundant-decls]
> /usr/src/sys/sys/random.h:99: warning: previous declaration of 'random_harvest_queue' was here
>
> Glen
>
More information about the svn-src-head
mailing list