Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/sys allow kernels w/o COMPAT_50 to build



details:   https://anonhg.NetBSD.org/src/rev/7ba133c095df
branches:  trunk
changeset: 772146:7ba133c095df
user:      drochner <drochner%NetBSD.org@localhost>
date:      Tue Dec 20 16:38:06 2011 +0000

description:
allow kernels w/o COMPAT_50 to build

diffstat:

 sys/compat/sys/rnd.h |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (25 lines):

diff -r 60b72aa77837 -r 7ba133c095df sys/compat/sys/rnd.h
--- a/sys/compat/sys/rnd.h      Tue Dec 20 15:45:36 2011 +0000
+++ b/sys/compat/sys/rnd.h      Tue Dec 20 16:38:06 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rnd.h,v 1.1 2011/12/19 21:53:52 apb Exp $      */
+/*     $NetBSD: rnd.h,v 1.2 2011/12/20 16:38:06 drochner Exp $ */
 
 /*-
  * Copyright (c) 1997,2011 The NetBSD Foundation, Inc.
@@ -47,8 +47,6 @@
 
 #include <sys/rnd.h>
 
-#ifdef COMPAT_50
-
 /*
  * NetBSD-5 used "void *state" in the rndsource_t struct.  rndsource_t
  * was used in rnstat_t and rnstat_name_t, which were used by
@@ -149,6 +147,4 @@
 #define        RNDGETSRCNAME50_32      _IOWR('R', 103, rndstat_name50_32_t)
 #endif /* COMPAT_NETBSD32 */
 
-#endif /* COMPAT_50 */
-
 #endif /* !_COMPAT_SYS_RND_H_ */



Home | Main Index | Thread Index | Old Index