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 header massage, mostly improves po...
details: https://anonhg.NetBSD.org/src/rev/e376a9837129
branches: trunk
changeset: 325360:e376a9837129
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Dec 20 09:06:35 2013 +0000
description:
header massage, mostly improves portability
diffstat:
sys/rump/net/lib/libshmif/shmif_busops.c | 8 +++-----
sys/rump/net/lib/libshmif/shmifvar.h | 3 ++-
2 files changed, 5 insertions(+), 6 deletions(-)
diffs (48 lines):
diff -r dbabdaef2d1c -r e376a9837129 sys/rump/net/lib/libshmif/shmif_busops.c
--- a/sys/rump/net/lib/libshmif/shmif_busops.c Fri Dec 20 07:01:06 2013 +0000
+++ b/sys/rump/net/lib/libshmif/shmif_busops.c Fri Dec 20 09:06:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: shmif_busops.c,v 1.9 2011/03/21 16:41:09 pooka Exp $ */
+/* $NetBSD: shmif_busops.c,v 1.10 2013/12/20 09:06:35 pooka Exp $ */
/*
* Copyright (c) 2009, 2010 Antti Kantee. All Rights Reserved.
@@ -28,19 +28,17 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: shmif_busops.c,v 1.9 2011/03/21 16:41:09 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: shmif_busops.c,v 1.10 2013/12/20 09:06:35 pooka Exp $");
#include <sys/param.h>
-#include <sys/atomic.h>
#ifndef _KERNEL
#include <assert.h>
+#include <inttypes.h>
#include <stdbool.h>
#include <string.h>
#define KASSERT(a) assert(a)
-#else
-#include <rump/rumpuser.h>
#endif
#include "shmifvar.h"
diff -r dbabdaef2d1c -r e376a9837129 sys/rump/net/lib/libshmif/shmifvar.h
--- a/sys/rump/net/lib/libshmif/shmifvar.h Fri Dec 20 07:01:06 2013 +0000
+++ b/sys/rump/net/lib/libshmif/shmifvar.h Fri Dec 20 09:06:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: shmifvar.h,v 1.6 2011/03/21 16:41:09 pooka Exp $ */
+/* $NetBSD: shmifvar.h,v 1.7 2013/12/20 09:06:35 pooka Exp $ */
/*-
* Copyright (c) 2009, 2010 Antti Kantee. All Rights Reserved.
@@ -63,6 +63,7 @@
#if 0
#ifdef _KERNEL
+#include <rump/rumpuser.h>
#define DPRINTF(x) rumpuser_dprintf x
#else
#define DPRINTF(x) printf x
Home |
Main Index |
Thread Index |
Old Index