Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libkern make "rs" static -- this name is too unspeci...



details:   https://anonhg.NetBSD.org/src/rev/4faed2f42700
branches:  trunk
changeset: 771699:4faed2f42700
user:      drochner <drochner%NetBSD.org@localhost>
date:      Tue Nov 29 13:16:26 2011 +0000

description:
make "rs" static -- this name is too unspecific for the global namespace

diffstat:

 sys/lib/libkern/arc4random.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5144d50daded -r 4faed2f42700 sys/lib/libkern/arc4random.c
--- a/sys/lib/libkern/arc4random.c      Tue Nov 29 13:15:27 2011 +0000
+++ b/sys/lib/libkern/arc4random.c      Tue Nov 29 13:16:26 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arc4random.c,v 1.28 2011/11/29 03:50:32 tls Exp $      */
+/*     $NetBSD: arc4random.c,v 1.29 2011/11/29 13:16:27 drochner Exp $ */
 
 /*-
  * Copyright (c) 2002, 2011 The NetBSD Foundation, Inc.
@@ -72,7 +72,7 @@
 #include <sys/rnd.h>
 #include <dev/rnd_private.h>
 
-rndsink_t      rs;
+static rndsink_t       rs;
 
 #endif
 



Home | Main Index | Thread Index | Old Index