Source-Changes-HG archive

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

[src/trunk]: src With the removal of HAVE_REGISTER_T from rumpuser_port.h, _K...



details:   https://anonhg.NetBSD.org/src/rev/40166732940a
branches:  trunk
changeset: 823838:40166732940a
user:      sevan <sevan%NetBSD.org@localhost>
date:      Thu May 11 04:33:14 2017 +0000

description:
With the removal of HAVE_REGISTER_T from rumpuser_port.h, _KERNTYPES does not
need to be defined. This allows register_t to be typedef'd to RUMP_REGISTER_T
without conflict, as highlighted in PR kern/52206.

diffstat:

 lib/librumpclient/Makefile      |  4 ++--
 lib/librumphijack/Makefile      |  4 ++--
 lib/librumpuser/Makefile        |  4 ++--
 usr.bin/rump_allserver/Makefile |  3 +--
 usr.bin/rump_server/Makefile    |  3 +--
 5 files changed, 8 insertions(+), 10 deletions(-)

diffs (87 lines):

diff -r 8e749db64a81 -r 40166732940a lib/librumpclient/Makefile
--- a/lib/librumpclient/Makefile        Thu May 11 04:27:27 2017 +0000
+++ b/lib/librumpclient/Makefile        Thu May 11 04:33:14 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.13 2017/05/10 08:48:46 sevan Exp $
+#      $NetBSD: Makefile,v 1.14 2017/05/11 04:33:14 sevan Exp $
 #
 
 .PATH: ${.CURDIR}/../../sys/rump/librump/rumpkern
@@ -17,7 +17,7 @@
 LIBDPLIBS+=    ${lib} lib
 .endfor
 
-CPPFLAGS+=     -DRUMP_CLIENT -D_KERNTYPES
+CPPFLAGS+=     -DRUMP_CLIENT
 CPPFLAGS+=     -I${.OBJDIR} -I${.CURDIR}
 CPPFLAGS+=     -I${.CURDIR}/../librumpuser
 SRCS=          rumpclient.c
diff -r 8e749db64a81 -r 40166732940a lib/librumphijack/Makefile
--- a/lib/librumphijack/Makefile        Thu May 11 04:27:27 2017 +0000
+++ b/lib/librumphijack/Makefile        Thu May 11 04:33:14 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.19 2017/05/10 08:48:46 sevan Exp $
+#      $NetBSD: Makefile,v 1.20 2017/05/11 04:33:14 sevan Exp $
 #
 
 LIB=           rumphijack
@@ -10,7 +10,7 @@
 
 SRCS=          hijack.c hijackdlsym.c
 
-CPPFLAGS+=     -D_DIAGNOSTIC -D_REENTRANT -D_KERNTYPES
+CPPFLAGS+=     -D_DIAGNOSTIC -D_REENTRANT
 
 WARNS?=                5
 
diff -r 8e749db64a81 -r 40166732940a lib/librumpuser/Makefile
--- a/lib/librumpuser/Makefile  Thu May 11 04:27:27 2017 +0000
+++ b/lib/librumpuser/Makefile  Thu May 11 04:33:14 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.26 2017/05/10 08:48:46 sevan Exp $
+#      $NetBSD: Makefile,v 1.27 2017/05/11 04:33:14 sevan Exp $
 #
 
 .include <bsd.own.mk>
@@ -19,7 +19,7 @@
 LIBDO.${lib}=  _external
 LIBDPLIBS+=    ${lib} lib
 .endfor
-CPPFLAGS+=     -DLIBRUMPUSER -D_KERNTYPES
+CPPFLAGS+=     -DLIBRUMPUSER
 #CPPFLAGS+=    -D_DIAGNOSTIC
 
 
diff -r 8e749db64a81 -r 40166732940a usr.bin/rump_allserver/Makefile
--- a/usr.bin/rump_allserver/Makefile   Thu May 11 04:27:27 2017 +0000
+++ b/usr.bin/rump_allserver/Makefile   Thu May 11 04:33:14 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.10 2017/05/10 08:48:46 sevan Exp $
+#      $NetBSD: Makefile,v 1.11 2017/05/11 04:33:14 sevan Exp $
 #
 
 PROG=  rump_allserver
@@ -13,6 +13,5 @@
 
 LDADD+=        ${RUMPDEVLDADD} ${RUMPFSLDADD} ${RUMPKERNLDADD} ${RUMPNETLDADD}
 LDADD+= -lrumpdev -lrumpvfs -lrumpnet -lrump -lrumpuser -lpthread
-CPPFLAGS+=     -D_KERNTYPES
 
 .include <bsd.prog.mk>
diff -r 8e749db64a81 -r 40166732940a usr.bin/rump_server/Makefile
--- a/usr.bin/rump_server/Makefile      Thu May 11 04:27:27 2017 +0000
+++ b/usr.bin/rump_server/Makefile      Thu May 11 04:33:14 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.11 2017/05/10 08:48:46 sevan Exp $
+#      $NetBSD: Makefile,v 1.12 2017/05/11 04:33:14 sevan Exp $
 #
 
 .PATH: ${.CURDIR}/../rump_allserver
@@ -7,7 +7,6 @@
 SRCS=          rump_allserver.c
 NOMAN=         installed by ../rump_allserver
 
-CPPFLAGS+=     -D_KERNTYPES
 LDADD+=                -Wl,--whole-archive -lrumpkern_sysproxy -lrump \
                -lrumpuser -Wl,--no-whole-archive -lpthread
 



Home | Main Index | Thread Index | Old Index