Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/net/lib/libshmif use _KERNEL_RCSID only in _KERNEL, ...



details:   https://anonhg.NetBSD.org/src/rev/8e5465329b3d
branches:  trunk
changeset: 325364:8e5465329b3d
user:      pooka <pooka%NetBSD.org@localhost>
date:      Fri Dec 20 10:00:59 2013 +0000

description:
use _KERNEL_RCSID only in _KERNEL, _RCSID elsewhere

diffstat:

 sys/rump/net/lib/libshmif/shmif_busops.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 0b91cbacfacd -r 8e5465329b3d sys/rump/net/lib/libshmif/shmif_busops.c
--- a/sys/rump/net/lib/libshmif/shmif_busops.c  Fri Dec 20 09:44:16 2013 +0000
+++ b/sys/rump/net/lib/libshmif/shmif_busops.c  Fri Dec 20 10:00:59 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: shmif_busops.c,v 1.10 2013/12/20 09:06:35 pooka Exp $  */
+/*     $NetBSD: shmif_busops.c,v 1.11 2013/12/20 10:00:59 pooka Exp $  */
 
 /*
  * Copyright (c) 2009, 2010 Antti Kantee.  All Rights Reserved.
@@ -27,8 +27,13 @@
  * SUCH DAMAGE.
  */
 
+#ifdef _KERNEL
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: shmif_busops.c,v 1.10 2013/12/20 09:06:35 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: shmif_busops.c,v 1.11 2013/12/20 10:00:59 pooka Exp $");
+#else
+#include <rump/rumpuser_port.h>
+__RCSID("$NetBSD: shmif_busops.c,v 1.11 2013/12/20 10:00:59 pooka Exp $");
+#endif
 
 #include <sys/param.h>
 



Home | Main Index | Thread Index | Old Index