Module Name:    src
Committed By:   justin
Date:           Sun Aug 10 22:35:32 UTC 2014

Modified Files:
        src/sys/crypto/cprng_fast: cprng_fast.c

Log Message:
define function consistently as inline


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/crypto/cprng_fast/cprng_fast.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/crypto/cprng_fast/cprng_fast.c
diff -u src/sys/crypto/cprng_fast/cprng_fast.c:1.2 src/sys/crypto/cprng_fast/cprng_fast.c:1.3
--- src/sys/crypto/cprng_fast/cprng_fast.c:1.2	Sun Aug 10 16:44:35 2014
+++ src/sys/crypto/cprng_fast/cprng_fast.c	Sun Aug 10 22:35:32 2014
@@ -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 @@ __CTASSERT(sizeof ((struct cprng_fast *)
 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);

Reply via email to