summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>1999-09-02 16:30:00 +0000
committerbala <balanatarajan@users.noreply.github.com>1999-09-02 16:30:00 +0000
commit1ff0bbeed9feb9a51b130c57642d3ed5d17dcdcc (patch)
treea6e8d346105bed4a6a062962cbc474562b758039
parentee1ade3e7360aa1c209844d3a158efc57cee723c (diff)
downloadATCD-1ff0bbeed9feb9a51b130c57642d3ed5d17dcdcc.tar.gz
*** empty log message ***
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/ntp-time.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/TAO/orbsvcs/orbsvcs/AV/ntp-time.h b/TAO/orbsvcs/orbsvcs/AV/ntp-time.h
index 2e2399d342e..de1b4782c37 100644
--- a/TAO/orbsvcs/orbsvcs/AV/ntp-time.h
+++ b/TAO/orbsvcs/orbsvcs/AV/ntp-time.h
@@ -90,8 +90,7 @@ ntptime()
ACE_INLINE timeval unixtime()
{
- struct timeval tv;
- ::gettimeofday(&tv, 0);
- return (tv);
+ ACE_Time_Value tv = ACE_OS::gettimeofday();
+ return ((timeval) tv);
}
#endif /* TAO_AV_NTP_TIME_H */