Source-Changes-HG archive

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

[src/trunk]: src/sys/sys define symbols also if _STANDALONE because arc4rando...



details:   https://anonhg.NetBSD.org/src/rev/1e0450cc3025
branches:  trunk
changeset: 552761:1e0450cc3025
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Oct 02 12:14:00 2003 +0000

description:
define symbols also if _STANDALONE because arc4random needs mono_time. This
needs to be fixed differently.

diffstat:

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

diffs (18 lines):

diff -r 30d6678d9262 -r 1e0450cc3025 sys/sys/kernel.h
--- a/sys/sys/kernel.h  Thu Oct 02 12:13:44 2003 +0000
+++ b/sys/sys/kernel.h  Thu Oct 02 12:14:00 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kernel.h,v 1.21 2003/09/30 19:20:05 christos Exp $     */
+/*     $NetBSD: kernel.h,v 1.22 2003/10/02 12:14:00 christos Exp $     */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -39,7 +39,7 @@
 #ifndef _SYS_KERNEL_H_
 #define _SYS_KERNEL_H_
 
-#ifdef _KERNEL
+#if defined(_KERNEL) || defined(_STANDALONE)
 /* Global variables for the kernel. */
 
 extern long hostid;



Home | Main Index | Thread Index | Old Index