Module Name: src Committed By: haad Date: Wed Dec 9 00:23:28 UTC 2009
Modified Files: src/sys/rump/include/rump: rump.h Log Message: Add RUMP_SYS_OPEN define to replace open calls with their RUMP version. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 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.33 src/sys/rump/include/rump/rump.h:1.34 --- src/sys/rump/include/rump/rump.h:1.33 Tue Nov 3 18:22:16 2009 +++ src/sys/rump/include/rump/rump.h Wed Dec 9 00:23:28 2009 @@ -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)