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 Add RUMP_SYS_OPEN define to replace op...
details: https://anonhg.NetBSD.org/src/rev/449a1ca3e82b
branches: trunk
changeset: 749802:449a1ca3e82b
user: haad <haad%NetBSD.org@localhost>
date: Wed Dec 09 00:23:28 2009 +0000
description:
Add RUMP_SYS_OPEN define to replace open calls with their RUMP version.
diffstat:
sys/rump/include/rump/rump.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 91f5fe7ed379 -r 449a1ca3e82b sys/rump/include/rump/rump.h
--- a/sys/rump/include/rump/rump.h Wed Dec 09 00:17:23 2009 +0000
+++ b/sys/rump/include/rump/rump.h Wed Dec 09 00:23:28 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump.h,v 1.33 2009/11/03 18:22:16 pooka Exp $ */
+/* $NetBSD: rump.h,v 1.34 2009/12/09 00:23:28 haad Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -128,6 +128,10 @@
#define close(a) rump_sys_close(a)
#endif /* RUMP_SYS_CLOSE */
+#ifdef RUMP_SYS_OPEN
+#define open(...) rump_sys_open(__VA_ARGS__)
+#endif /* RUMP_SYS_OPEN */
+
#ifdef RUMP_SYS_READWRITE
#define read(a,b,c) rump_sys_read(a,b,c)
#define readv(a,b,c) rump_sys_readv(a,b,c)
Home |
Main Index |
Thread Index |
Old Index