Module Name:    src
Committed By:   mlelstv
Date:           Tue Dec 13 08:00:36 UTC 2011

Modified Files:
        src/sys/sys: cprng.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/sys/cprng.h

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

Modified files:

Index: src/sys/sys/cprng.h
diff -u src/sys/sys/cprng.h:1.2 src/sys/sys/cprng.h:1.3
--- src/sys/sys/cprng.h:1.2	Mon Nov 28 08:05:07 2011
+++ src/sys/sys/cprng.h	Tue Dec 13 08:00:36 2011
@@ -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.
  */

Reply via email to