Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Use cprng stub functions also for _RUMP_NATIVE_ABI w...



details:   https://anonhg.NetBSD.org/src/rev/269c3f654a09
branches:  trunk
changeset: 771998:269c3f654a09
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Tue Dec 13 08:00:36 2011 +0000

description:
Use cprng stub functions also for _RUMP_NATIVE_ABI which is used
for archs that use native kernel modules with rump.

diffstat:

 sys/sys/cprng.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7d5f1ccea748 -r 269c3f654a09 sys/sys/cprng.h
--- a/sys/sys/cprng.h   Tue Dec 13 04:32:32 2011 +0000
+++ b/sys/sys/cprng.h   Tue Dec 13 08:00:36 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cprng.h,v 1.2 2011/11/28 08:05:07 tls Exp $ */
+/*     $NetBSD: cprng.h,v 1.3 2011/12/13 08:00:36 mlelstv Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
  */
 #define CPRNG_MAX_LEN  524288
 
-#ifndef _RUMPKERNEL
+#if !defined(_RUMPKERNEL) && !defined(_RUMP_NATIVE_ABI)
 /*
  * We do not want an arc4random() prototype available to anyone.
  */



Home | Main Index | Thread Index | Old Index