diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-06-28 14:50:36 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-06-28 14:50:36 +0200 |
commit | 6e2e9f862209e9dae3a282f2505e83d9dce2ac69 (patch) | |
tree | b7300a069f00fcc8090bf1031ca78cafb899766a /ACE/ace/OS_NS_sys_time.inl | |
parent | b31a5c65ed12c73e68da8f8b5c33689adf1efabc (diff) | |
download | ATCD-6e2e9f862209e9dae3a282f2505e83d9dce2ac69.tar.gz |
Removed FAIL value from ACE_OSCALL an ACE_OSCALL_RETURN, not used at all
* ACE/ace/Mem_Map.cpp:
* ACE/ace/OS_NS_Thread.cpp:
* 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_macros.h:
* ACE/ace/OS_NS_netdb.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_time.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.h:
* 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:
* ACE/ace/config-macros.h:
* TAO/TAO_IDL/be/be_helper.cpp:
Diffstat (limited to 'ACE/ace/OS_NS_sys_time.inl')
-rw-r--r-- | ACE/ace/OS_NS_sys_time.inl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/ace/OS_NS_sys_time.inl b/ACE/ace/OS_NS_sys_time.inl index 1f7efda9fcb..5692bf0d8df 100644 --- a/ACE/ace/OS_NS_sys_time.inl +++ b/ACE/ace/OS_NS_sys_time.inl @@ -49,14 +49,14 @@ ACE_OS::gettimeofday () # if defined (ACE_HAS_TIMEZONE_GETTIMEOFDAY) || \ defined(ACE_HAS_VOIDPTR_GETTIMEOFDAY) || \ (defined (ACE_HAS_SVR4_GETTIMEOFDAY) && !defined (SCO)) - ACE_OSCALL (::gettimeofday (&tv, 0), int, -1, result); + ACE_OSCALL (::gettimeofday (&tv, 0), int, result); # elif defined (ACE_VXWORKS) // Assumes that struct timespec is same size as struct timeval, // which assumes that time_t is a long: it currently (VxWorks // 5.2/5.3) is. struct timespec ts; - ACE_OSCALL (ACE_OS::clock_gettime (CLOCK_REALTIME, &ts), int, -1, result); + ACE_OSCALL (ACE_OS::clock_gettime (CLOCK_REALTIME, &ts), int, result); tv.tv_sec = ts.tv_sec; tv.tv_usec = ts.tv_nsec / 1000L; // timespec has nsec, but timeval has usec # elif defined (ACE_MQX) @@ -68,7 +68,7 @@ ACE_OS::gettimeofday () # if defined (ACE_LACKS_GETTIMEOFDAY) ACE_NOTSUP_RETURN (ACE_Time_Value ((time_t)-1)); # else - ACE_OSCALL (::gettimeofday (&tv), int, -1, result); + ACE_OSCALL (::gettimeofday (&tv), int, result); # endif /* ACE_LACKS_GETTIMEOFDAY */ # endif /* ACE_HAS_SVR4_GETTIMEOFDAY */ #endif /* 0 */ |