From 92eab16eed5ab2c8ca0ef3ff658d764a10ad0467 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 7 Jul 2007 17:28:22 +0000 Subject: [PATCH] * fhandler.h (fhandler_base::write): Remove __stdcall decoration. (fhandler_pipe::write): Ditto. (fhandler_fifo::write): Ditto. --- winsup/cygwin/ChangeLog | 6 ++++++ winsup/cygwin/fhandler.h | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 87d15e81e..ebde48d95 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,9 @@ +2007-07-07 Christopher Faylor + + * fhandler.h (fhandler_base::write): Remove __stdcall decoration. + (fhandler_pipe::write): Ditto. + (fhandler_fifo::write): Ditto. + 2007-07-07 Christopher Faylor Preliminary change to make pipes interruptible and fifos reliable. diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h index 5a5837e87..79c9c3da6 100644 --- a/winsup/cygwin/fhandler.h +++ b/winsup/cygwin/fhandler.h @@ -298,7 +298,7 @@ class fhandler_base virtual char const *ttyname () { return get_name (); } virtual void __stdcall read (void *ptr, size_t& len) __attribute__ ((regparm (3))); virtual void __stdcall read_overlapped (void *ptr, size_t& len) __attribute__ ((regparm (3))); - virtual int __stdcall write (const void *ptr, size_t len); + virtual int write (const void *ptr, size_t len); virtual int __stdcall write_overlapped (const void *ptr, size_t len); virtual ssize_t readv (const struct iovec *, int iovcnt, ssize_t tot = -1); virtual ssize_t writev (const struct iovec *, int iovcnt, ssize_t tot = -1); @@ -539,7 +539,7 @@ public: select_record *select_except (select_record *s); char *get_proc_fd_name (char *buf); void __stdcall read (void *ptr, size_t& len) __attribute__ ((regparm (3))); - int __stdcall write (const void *, size_t); + int write (const void *, size_t); int open (int flags, mode_t mode = 0); int dup (fhandler_base *child); int ioctl (unsigned int cmd, void *); @@ -567,7 +567,7 @@ class fhandler_fifo: public fhandler_base public: fhandler_fifo (); void __stdcall read (void *, size_t&) __attribute__ ((regparm (3))); - int __stdcall write (const void *, size_t); + int write (const void *, size_t); int open (int, mode_t); bool isfifo () { return true; } int __stdcall fstatvfs (struct statvfs *buf) __attribute__ ((regparm (2)));