Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/include/rump Use the same exposure rules for regist...



details:   https://anonhg.NetBSD.org/src/rev/3f2d8cea17a3
branches:  trunk
changeset: 823851:3f2d8cea17a3
user:      christos <christos%NetBSD.org@localhost>
date:      Thu May 11 18:08:10 2017 +0000

description:
Use the same exposure rules for register_t as <machine/types.h> does.
Eventually we could remove -D_KERNTYPES from all the rump libraries...

diffstat:

 sys/rump/include/rump/rump.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r f34552853658 -r 3f2d8cea17a3 sys/rump/include/rump/rump.h
--- a/sys/rump/include/rump/rump.h      Thu May 11 17:47:22 2017 +0000
+++ b/sys/rump/include/rump/rump.h      Thu May 11 18:08:10 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump.h,v 1.68 2016/01/31 23:14:34 pooka Exp $  */
+/*     $NetBSD: rump.h,v 1.69 2017/05/11 18:08:10 christos Exp $       */
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -46,7 +46,8 @@
 struct modinfo;
 struct uio;
 
-#if (!defined(_KERNEL)) && (defined(__sun__) || defined(__ANDROID__)) && !defined(RUMP_REGISTER_T)
+#if !defined(RUMP_REGISTER_T) && !defined(_KERNEL) && \
+    !defined(_KMEMUSER) && !defined(_KERNTYPES) && !defined(_STANDALONE)
 #define RUMP_REGISTER_T long
 typedef RUMP_REGISTER_T register_t;
 #endif



Home | Main Index | Thread Index | Old Index