aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2008-09-11 04:41:24 +0000
committerChristopher Faylor <me@cgf.cx>2008-09-11 04:41:24 +0000
commite3cbf1cc486e0771bf6ee2ebec4d38cebcf9e0d3 (patch)
treebce302cbc526345147062fba789030e2cbfc907f /winsup/cygwin
parent7b9e380f0362aad5dfa3e06e60fd6d06549e2306 (diff)
downloadnewlib-e3cbf1cc486e0771bf6ee2ebec4d38cebcf9e0d3.zip
newlib-e3cbf1cc486e0771bf6ee2ebec4d38cebcf9e0d3.tar.gz
newlib-e3cbf1cc486e0771bf6ee2ebec4d38cebcf9e0d3.tar.bz2
* fhandler.h (fhandler_pipe::raw_read): Remove __stdcall decoration.
* pipe.cc (fhandler_pipe::raw_read): Ditto.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/fhandler.h2
-rw-r--r--winsup/cygwin/pipe.cc2
3 files changed, 7 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 5876813..f2b30de 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,10 @@
2008-09-11 Christopher Faylor <me+cygwin@cgf.cx>
+ * fhandler.h (fhandler_pipe::raw_read): Remove __stdcall decoration.
+ * pipe.cc (fhandler_pipe::raw_read): Ditto.
+
+2008-09-11 Christopher Faylor <me+cygwin@cgf.cx>
+
* cygheap.cc (creturn): Reorganize to avoid a new compiler
warning/error.
* dtable.cc (handle_to_fn): Ditto.
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index 172ab79..e9aaf0c 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -542,7 +542,7 @@ public:
select_record *select_write (select_record *s);
select_record *select_except (select_record *s);
char *get_proc_fd_name (char *buf);
- void __stdcall raw_read (void *ptr, size_t& len);
+ void raw_read (void *ptr, size_t& len);
int raw_write (const void *, size_t);
int open (int flags, mode_t mode = 0);
int dup (fhandler_base *child);
diff --git a/winsup/cygwin/pipe.cc b/winsup/cygwin/pipe.cc
index 303f061..5f4717b 100644
--- a/winsup/cygwin/pipe.cc
+++ b/winsup/cygwin/pipe.cc
@@ -292,7 +292,7 @@ fhandler_pipe::get_proc_fd_name (char *buf)
return buf;
}
-void __stdcall
+void
fhandler_pipe::raw_read (void *in_ptr, size_t& in_len)
{
return read_overlapped (in_ptr, in_len);