Module Name: src Committed By: christos Date: Thu May 11 18:08:10 UTC 2017
Modified Files: src/sys/rump/include/rump: rump.h Log Message: Use the same exposure rules for register_t as <machine/types.h> does. Eventually we could remove -D_KERNTYPES from all the rump libraries... To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/sys/rump/include/rump/rump.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/rump/include/rump/rump.h diff -u src/sys/rump/include/rump/rump.h:1.68 src/sys/rump/include/rump/rump.h:1.69 --- src/sys/rump/include/rump/rump.h:1.68 Sun Jan 31 18:14:34 2016 +++ src/sys/rump/include/rump/rump.h Thu May 11 14:08:10 2017 @@ -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 lwp; 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