From a7da2729e7d5836a47a0b256b4e552e7cd7a6aea Mon Sep 17 00:00:00 2001 From: riastradh Date: Mon, 11 Aug 2014 03:47:49 +0000 Subject: [PATCH] Include , don't copypasta declare rnd_initial_entropy. --- sys/crypto/cprng_fast/cprng_fast.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sys/crypto/cprng_fast/cprng_fast.c b/sys/crypto/cprng_fast/cprng_fast.c index c4fa1d476c57..f9cc7f2b3dc9 100644 --- a/sys/crypto/cprng_fast/cprng_fast.c +++ b/sys/crypto/cprng_fast/cprng_fast.c @@ -1,4 +1,4 @@ -/* $NetBSD: cprng_fast.c,v 1.4 2014/08/11 03:46:54 riastradh Exp $ */ +/* $NetBSD: cprng_fast.c,v 1.5 2014/08/11 03:47:49 riastradh Exp $ */ /*- * Copyright (c) 2014 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: cprng_fast.c,v 1.4 2014/08/11 03:46:54 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cprng_fast.c,v 1.5 2014/08/11 03:47:49 riastradh Exp $"); #include #include @@ -39,6 +39,7 @@ __KERNEL_RCSID(0, "$NetBSD: cprng_fast.c,v 1.4 2014/08/11 03:46:54 riastradh Exp #include #include #include +#include /* ChaCha core */ @@ -214,8 +215,6 @@ static void cprng_fast_buf_long(void *, size_t); static percpu_t *cprng_fast_percpu __read_mostly; static void *cprng_fast_softint __read_mostly; -extern int rnd_initial_entropy; - void cprng_fast_init(void) {