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 define function consistently as inline



details:   https://anonhg.NetBSD.org/src/rev/33583bb9b3af
branches:  trunk
changeset: 331438:33583bb9b3af
user:      justin <justin%NetBSD.org@localhost>
date:      Sun Aug 10 22:35:32 2014 +0000

description:
define function consistently as inline

diffstat:

 sys/crypto/cprng_fast/cprng_fast.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 13838402f3dc -r 33583bb9b3af sys/crypto/cprng_fast/cprng_fast.c
--- a/sys/crypto/cprng_fast/cprng_fast.c        Sun Aug 10 21:00:48 2014 +0000
+++ b/sys/crypto/cprng_fast/cprng_fast.c        Sun Aug 10 22:35:32 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cprng_fast.c,v 1.2 2014/08/10 16:44:35 tls Exp $       */
+/*     $NetBSD: cprng_fast.c,v 1.3 2014/08/10 22:35:32 justin 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.2 2014/08/10 16:44:35 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cprng_fast.c,v 1.3 2014/08/10 22:35:32 justin Exp $");
 
 #include <sys/types.h>
 #include <sys/bitops.h>
@@ -206,7 +206,7 @@
 static void    cprng_fast_schedule_reseed(struct cprng_fast *);
 static void    cprng_fast_intr(void *);
 
-static void    cprng_fast_seed(struct cprng_fast *, const void *);
+static inline 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);



Home | Main Index | Thread Index | Old Index