Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Make rnd_extract_data_locked static.
details: https://anonhg.NetBSD.org/src/rev/46b570413fd5
branches: trunk
changeset: 337238:46b570413fd5
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Apr 08 02:25:06 2015 +0000
description:
Make rnd_extract_data_locked static.
diffstat:
sys/kern/kern_rndq.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r f7d780c61f20 -r 46b570413fd5 sys/kern/kern_rndq.c
--- a/sys/kern/kern_rndq.c Wed Apr 08 01:42:40 2015 +0000
+++ b/sys/kern/kern_rndq.c Wed Apr 08 02:25:06 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_rndq.c,v 1.29 2015/01/08 16:13:07 christos Exp $ */
+/* $NetBSD: kern_rndq.c,v 1.30 2015/04/08 02:25:06 riastradh Exp $ */
/*-
* Copyright (c) 1997-2013 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_rndq.c,v 1.29 2015/01/08 16:13:07 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_rndq.c,v 1.30 2015/04/08 02:25:06 riastradh Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -167,7 +167,7 @@
static void rnd_intr(void *);
static void rnd_wake(void *);
static void rnd_process_events(void);
-u_int32_t rnd_extract_data_locked(void *, u_int32_t, u_int32_t); /* XXX */
+static u_int32_t rnd_extract_data_locked(void *, u_int32_t, u_int32_t);
static void rnd_add_data_ts(krndsource_t *, const void *const,
uint32_t, uint32_t, uint32_t);
static inline void rnd_schedule_process(void);
@@ -1175,7 +1175,7 @@
rnd_wakeup_readers();
}
-u_int32_t
+static u_int32_t
rnd_extract_data_locked(void *p, u_int32_t len, u_int32_t flags)
{
static int timed_in;
Home |
Main Index |
Thread Index |
Old Index