[Libsysio-commit] b_lustre: libsysio/include cygwin-defs.h bypass.h
Brought to you by:
lward
|
From: Mei <me...@us...> - 2003-12-12 06:05:28
|
Update of /cvsroot/libsysio/libsysio/include
In directory sc8-pr-cvs1:/tmp/cvs-serv20631/include
Modified Files:
Tag: b_lustre
cygwin-defs.h
Removed Files:
Tag: b_lustre
bypass.h
Log Message:
remove bypass.c/bypass.h, integrate some of remains bypass code into
each .c files.
Index: cygwin-defs.h
===================================================================
RCS file: /cvsroot/libsysio/libsysio/include/Attic/cygwin-defs.h,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -w -b -B -p -r1.1.2.1 -r1.1.2.2
--- cygwin-defs.h 18 Aug 2003 13:56:04 -0000 1.1.2.1
+++ cygwin-defs.h 12 Dec 2003 06:05:25 -0000 1.1.2.2
@@ -29,37 +29,4 @@ typedef long long off64_t
*/
#undef _LARGEFILE64_SOURCE
-/*
- * bypass should NEVER happen under cygwin. nullify them.
- */
-struct iovec;
-
-static inline
-ioid_t __bypass_ireadv(int fd, const struct iovec *iov, int count)
-{
- return 0;
-};
-static inline
-ioid_t __bypass_preadv(int fd, const struct iovec *iov,
- int count, off_t offset)
-{
- return 0;
-};
-static inline
-ioid_t __bypass_iwritev(int fd, const struct iovec *iov, int count)
-{
- return 0;
-};
-static inline
-ioid_t __bypass_pwritev(int fd, const struct iovec *iov,
- int count, off_t offset)
-{
- return 0;
-};
-static inline
-int __bypass_fcntl(int fd, int cmd, va_list ap)
-{
- return -1;
-};
-
#endif /* CYGWIN_DEFS_H */
--- bypass.h DELETED ---
|