Glen Barber <g...@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 > _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"