summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_dlfcn.inl
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-06-28 15:41:21 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-06-28 15:41:21 +0200
commitfffe48a8fea850e331714bb526be5de12122307f (patch)
treeb57e996b4b654cd04ca6c9d30c574e4d463fdeb1 /ACE/ace/OS_NS_dlfcn.inl
parent6e2e9f862209e9dae3a282f2505e83d9dce2ac69 (diff)
downloadATCD-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_dlfcn.inl')
-rw-r--r--ACE/ace/OS_NS_dlfcn.inl10
1 files changed, 5 insertions, 5 deletions
diff --git a/ACE/ace/OS_NS_dlfcn.inl b/ACE/ace/OS_NS_dlfcn.inl
index 86628f8d725..1dbcf35a477 100644
--- a/ACE/ace/OS_NS_dlfcn.inl
+++ b/ACE/ace/OS_NS_dlfcn.inl
@@ -37,7 +37,7 @@ ACE_OS::dlclose (ACE_SHLIB_HANDLE handle)
if (ptr != 0)
(*((int (*)(void)) ptr)) (); // Call _fini hook explicitly.
# endif /* ACE_HAS_AUTOMATIC_INIT_FINI */
- ACE_OSCALL_RETURN (::dlclose (handle), int);
+ return ::dlclose (handle);
#elif defined (ACE_WIN32)
ACE_WIN32CALL_RETURN (ACE_ADAPT_RETVAL (::FreeLibrary (handle), ace_result_), int, -1);
#elif defined (__hpux)
@@ -55,7 +55,7 @@ ACE_OS::dlclose (ACE_SHLIB_HANDLE handle)
return -1;
if (desc.ref_count > 1)
return 0;
- ACE_OSCALL_RETURN (::shl_unload (handle), int);
+ return ::shl_unload (handle);
#else
ACE_UNUSED_ARG (handle);
ACE_NOTSUP_RETURN (-1);
@@ -81,7 +81,7 @@ ACE_OS::dlerror ()
# endif /* ACE_USES_WCHAR */
# elif defined (__hpux) || defined (ACE_VXWORKS)
//FUZZ: disable check_for_lack_ACE_OS
- ACE_OSCALL_RETURN (::strerror(errno), char *);
+ return ::strerror(errno);
//FUZZ: enable check_for_lack_ACE_OS
# elif defined (ACE_WIN32)
static ACE_TCHAR buf[128];
@@ -134,7 +134,7 @@ ACE_OS::dlopen (const ACE_TCHAR *fname,
ACE_WIN32CALL_RETURN (ACE_TEXT_LoadLibrary (fname), ACE_SHLIB_HANDLE, 0);
# elif defined (__hpux)
- ACE_OSCALL_RETURN (::shl_load(fname, mode, 0L), ACE_SHLIB_HANDLE);
+ return ::shl_load(fname, mode, 0L);
# elif defined (ACE_VXWORKS) && !defined (__RTP__)
ACE_UNUSED_ARG (mode);
MODULE* handle = 0;
@@ -217,7 +217,7 @@ ACE_OS::dlsym (ACE_SHLIB_HANDLE handle,
delete [] asm_symbolname;
return ace_result;
# else
- ACE_OSCALL_RETURN (::dlsym (handle, symbolname), void *);
+ return ::dlsym (handle, symbolname);
# endif /* ACE_USES_ASM_SYMBOL_IN_DLSYM */
# elif defined (ACE_WIN32)