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_signal.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_signal.inl')
-rw-r--r-- | ACE/ace/OS_NS_signal.inl | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/ACE/ace/OS_NS_signal.inl b/ACE/ace/OS_NS_signal.inl index e469705fca2..8317bf3b6b8 100644 --- a/ACE/ace/OS_NS_signal.inl +++ b/ACE/ace/OS_NS_signal.inl @@ -23,9 +23,9 @@ kill (pid_t pid, int signum) * This only becomes an issue when using the 64bit compiler * as the TASK_ID is no longer defined as an int. */ - ACE_OSCALL_RETURN (::kill ((ACE_VX_TASK_ID)pid, signum), int); + return ::kill ((ACE_VX_TASK_ID)pid, signum); #else - ACE_OSCALL_RETURN (::kill (pid, signum), int); + return ::kill (pid, signum); #endif /* ACE_LACKS_KILL */ } @@ -75,12 +75,9 @@ sigaction (int signum, const ACE_SIGACTION *nsa, ACE_SIGACTION *osa) ACE_UNUSED_ARG (osa); ACE_NOTSUP_RETURN (-1); #elif !defined (ACE_HAS_SIGACTION_CONSTP2) - ACE_OSCALL_RETURN (::sigaction (signum, - const_cast<ACE_SIGACTION*> (nsa), - osa), - int); + return ::sigaction (signum, const_cast<ACE_SIGACTION*> (nsa), osa); #else - ACE_OSCALL_RETURN (::sigaction (signum, nsa, osa), int); + return ::sigaction (signum, nsa, osa); #endif /* ACE_WIN32 !ACE_HAS_WINCE */ } @@ -212,7 +209,7 @@ sigprocmask (int how, const sigset_t *nsp, sigset_t *osp) ACE_UNUSED_ARG (osp); ACE_NOTSUP_RETURN (-1); #else - ACE_OSCALL_RETURN (::sigprocmask (how, nsp, osp), int); + return ::sigprocmask (how, nsp, osp); #endif /* ACE_LACKS_SIGSET || ACE_LACKS_SIGSET_DEFINITIONS || ACE_LACKS_SIGPROCMASK */ } @@ -241,7 +238,7 @@ raise (const int signum) ACE_UNUSED_ARG (signum); ACE_NOTSUP_RETURN (-1); #else - ACE_OSCALL_RETURN (::raise (signum), int); + return ::raise (signum); #endif /* ACE_LACKS_RAISE */ } |