Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/crypto/cprng_fast No need for cprng_fast_seed to be inline.
details: https://anonhg.NetBSD.org/src/rev/66ee39a874d9
branches: trunk
changeset: 331454:66ee39a874d9
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 11 03:50:29 2014 +0000
description:
No need for cprng_fast_seed to be inline.
diffstat:
sys/crypto/cprng_fast/cprng_fast.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r d46b5f24f0aa -r 66ee39a874d9 sys/crypto/cprng_fast/cprng_fast.c
--- a/sys/crypto/cprng_fast/cprng_fast.c Mon Aug 11 03:47:49 2014 +0000
+++ b/sys/crypto/cprng_fast/cprng_fast.c Mon Aug 11 03:50:29 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cprng_fast.c,v 1.5 2014/08/11 03:47:49 riastradh Exp $ */
+/* $NetBSD: cprng_fast.c,v 1.6 2014/08/11 03:50:29 riastradh Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cprng_fast.c,v 1.5 2014/08/11 03:47:49 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cprng_fast.c,v 1.6 2014/08/11 03:50:29 riastradh Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -206,7 +206,7 @@
static void cprng_fast_schedule_reseed(struct cprng_fast *);
static void cprng_fast_intr(void *);
-static inline void cprng_fast_seed(struct cprng_fast *, const void *);
+static void cprng_fast_seed(struct cprng_fast *, const void *);
static void cprng_fast_buf(struct cprng_fast *, void *, unsigned);
static void cprng_fast_buf_short(void *, size_t);
@@ -291,7 +291,7 @@
*/
#define CPRNG_FAST_BUFIDX (crypto_core_OUTPUTWORDS - 1)
-static inline void
+static void
cprng_fast_seed(struct cprng_fast *cprng, const void *seed)
{
Home |
Main Index |
Thread Index |
Old Index