diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-06-28 15:41:21 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-06-28 15:41:21 +0200 |
commit | fffe48a8fea850e331714bb526be5de12122307f (patch) | |
tree | b57e996b4b654cd04ca6c9d30c574e4d463fdeb1 /ACE/ace/OS_NS_sys_uio.inl | |
parent | 6e2e9f862209e9dae3a282f2505e83d9dce2ac69 (diff) | |
download | ATCD-fffe48a8fea850e331714bb526be5de12122307f.tar.gz |
Removed lot of ACE_OSCALL_RETURN calls, the macro expanded to only the method invocation itself
* ACE/ace/OS_NS_Thread.inl:
* ACE/ace/OS_NS_arpa_inet.cpp:
* ACE/ace/OS_NS_arpa_inet.inl:
* ACE/ace/OS_NS_devctl.inl:
* ACE/ace/OS_NS_dlfcn.inl:
* ACE/ace/OS_NS_fcntl.cpp:
* ACE/ace/OS_NS_fcntl.inl:
* ACE/ace/OS_NS_poll.inl:
* ACE/ace/OS_NS_regex.inl:
* ACE/ace/OS_NS_signal.inl:
* ACE/ace/OS_NS_stdio.inl:
* ACE/ace/OS_NS_stdlib.inl:
* ACE/ace/OS_NS_stropts.inl:
* ACE/ace/OS_NS_sys_mman.inl:
* ACE/ace/OS_NS_sys_msg.inl:
* ACE/ace/OS_NS_sys_resource.inl:
* ACE/ace/OS_NS_sys_shm.inl:
* ACE/ace/OS_NS_sys_socket.inl:
* ACE/ace/OS_NS_sys_stat.inl:
* ACE/ace/OS_NS_sys_uio.inl:
* ACE/ace/OS_NS_sys_utsname.cpp:
* ACE/ace/OS_NS_sys_wait.inl:
* ACE/ace/OS_NS_time.cpp:
* ACE/ace/OS_NS_time.inl:
* ACE/ace/OS_NS_unistd.cpp:
* ACE/ace/OS_NS_unistd.inl:
* ACE/ace/OS_NS_wchar.inl:
* ACE/ace/OS_TLI.inl:
Diffstat (limited to 'ACE/ace/OS_NS_sys_uio.inl')
-rw-r--r-- | ACE/ace/OS_NS_sys_uio.inl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ACE/ace/OS_NS_sys_uio.inl b/ACE/ace/OS_NS_sys_uio.inl index 71569b9b324..c3d590519d5 100644 --- a/ACE/ace/OS_NS_sys_uio.inl +++ b/ACE/ace/OS_NS_sys_uio.inl @@ -10,12 +10,12 @@ ACE_OS::readv (ACE_HANDLE handle, { ACE_OS_TRACE ("ACE_OS::readv"); #if defined (ACE_LACKS_READV) - ACE_OSCALL_RETURN (ACE_OS::readv_emulation (handle, iov, iovlen), ssize_t); + return ACE_OS::readv_emulation (handle, iov, iovlen); #else /* ACE_LACKS_READV */ #if defined (ACE_HAS_NONCONST_READV) - ACE_OSCALL_RETURN (::readv (handle, const_cast<iovec *>(iov), iovlen), ssize_t); + return ::readv (handle, const_cast<iovec *>(iov), iovlen); #else - ACE_OSCALL_RETURN (::readv (handle, iov, iovlen), ssize_t); + return ::readv (handle, iov, iovlen); #endif /* ACE_HAS_NONCONST_READV */ #endif /* ACE_LACKS_READV */ } @@ -27,12 +27,12 @@ ACE_OS::writev (ACE_HANDLE handle, { ACE_OS_TRACE ("ACE_OS::writev"); #if defined (ACE_LACKS_WRITEV) - ACE_OSCALL_RETURN (ACE_OS::writev_emulation (handle, iov, iovcnt), ssize_t); + return ACE_OS::writev_emulation (handle, iov, iovcnt); #else /* ACE_LACKS_WRITEV */ #if defined (ACE_HAS_NONCONST_WRITEV) - ACE_OSCALL_RETURN (::writev (handle, const_cast<iovec *>(iov), iovcnt), ssize_t); + return ::writev (handle, const_cast<iovec *>(iov), iovcnt); #else - ACE_OSCALL_RETURN (::writev (handle, iov, iovcnt), ssize_t); + return ::writev (handle, iov, iovcnt); #endif /* ACE_HAS_NONCONST_WRITEV */ #endif /* ACE_LACKS_WRITEV */ } |