Module Name:    src
Committed By:   pooka
Date:           Fri Jan 17 02:08:56 UTC 2014

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

Log Message:
forgot to commit this with rump kernelcprng change


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 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.8 src/sys/sys/cprng.h:1.9
--- src/sys/sys/cprng.h:1.8	Mon Jul  1 15:22:00 2013
+++ src/sys/sys/cprng.h	Fri Jan 17 02:08:56 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: cprng.h,v 1.8 2013/07/01 15:22:00 riastradh Exp $ */
+/*	$NetBSD: cprng.h,v 1.9 2014/01/17 02:08:56 pooka Exp $ */
 
 /*-
  * Copyright (c) 2011-2013 The NetBSD Foundation, Inc.
@@ -47,7 +47,6 @@
  */
 #define CPRNG_MAX_LEN	524288
 
-#if !defined(_RUMPKERNEL) && !defined(_RUMP_NATIVE_ABI)
 /*
  * We do not want an arc4random() prototype available to anyone.
  */
@@ -74,11 +73,6 @@ cprng_fast64(void)
 	_arc4randbytes(&r, sizeof(r));
 	return r;
 }
-#else
-size_t cprng_fast(void *, size_t);
-uint32_t cprng_fast32(void);
-uint64_t cprng_fast64(void);
-#endif
 
 typedef struct cprng_strong cprng_strong_t;
 

Reply via email to