Module Name: src
Committed By: pooka
Date: Tue May 26 15:44:35 UTC 2009
Modified Files:
src/sys/rump/include/rump: rump.h
Log Message:
add ioctl to list of compile-time translated calls
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 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.22 src/sys/rump/include/rump/rump.h:1.23
--- src/sys/rump/include/rump/rump.h:1.22 Fri May 22 12:47:39 2009
+++ src/sys/rump/include/rump/rump.h Tue May 26 15:44:35 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: rump.h,v 1.22 2009/05/22 12:47:39 pooka Exp $ */
+/* $NetBSD: rump.h,v 1.23 2009/05/26 15:44:35 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -189,6 +189,10 @@
#define shutdown(a,b) rump_sys_shutdown(a,b)
#endif /* RUMP_SYS_NETWORKING */
+#ifdef RUMP_SYS_IOCTL
+#define ioctl(...) rump_sys_ioctl(__VA_ARGS__)
+#endif /* RUMP_SYS_IOCTL */
+
#ifdef RUMP_SYS_CLOSE
#define close(a) rump_sys_close(a)
#endif /* RUMP_SYS_CLOSE */