Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Make the softint cookies static.



details:   https://anonhg.NetBSD.org/src/rev/8e381af6e73e
branches:  trunk
changeset: 337439:8e381af6e73e
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Tue Apr 14 13:57:35 2015 +0000

description:
Make the softint cookies static.

diffstat:

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

diffs (27 lines):

diff -r ec1ccb4c042f -r 8e381af6e73e sys/kern/kern_rndq.c
--- a/sys/kern/kern_rndq.c      Tue Apr 14 13:32:34 2015 +0000
+++ b/sys/kern/kern_rndq.c      Tue Apr 14 13:57:35 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_rndq.c,v 1.59 2015/04/14 13:26:58 riastradh Exp $ */
+/*     $NetBSD: kern_rndq.c,v 1.60 2015/04/14 13:57:35 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.59 2015/04/14 13:26:58 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_rndq.c,v 1.60 2015/04/14 13:57:35 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -152,7 +152,7 @@
 
 krndsource_t rnd_printf_source, rnd_autoconf_source;
 
-void *rnd_process, *rnd_wakeup;
+static void *rnd_process, *rnd_wakeup;
 
 static        void     rnd_wakeup_readers(void);
 static inline uint32_t rnd_counter(void);



Home | Main Index | Thread Index | Old Index