diff options
Diffstat (limited to 'sal/osl/unx/time.c')
-rw-r--r-- | sal/osl/unx/time.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sal/osl/unx/time.c b/sal/osl/unx/time.c index 61b6e39ae6dd..15a3e43843b8 100644 --- a/sal/osl/unx/time.c +++ b/sal/osl/unx/time.c @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include "system.h" #include <osl/diagnose.h> @@ -52,7 +51,6 @@ typedef struct timeval osl_time_t; #endif static osl_time_t startTime; - sal_Bool SAL_CALL osl_getSystemTime(TimeValue* tv) { #ifdef __MACH__ @@ -89,7 +87,6 @@ sal_Bool SAL_CALL osl_getSystemTime(TimeValue* tv) return sal_True; } - sal_Bool SAL_CALL osl_getDateTimeFromTimeValue( const TimeValue* pTimeVal, oslDateTime* pDateTime ) { struct tm *pSystemTime; @@ -101,7 +98,6 @@ sal_Bool SAL_CALL osl_getDateTimeFromTimeValue( const TimeValue* pTimeVal, oslDa /* Convert time from type time_t to struct tm */ pSystemTime = gmtime_r( &atime, &tmBuf ); - /* Convert struct tm to struct oslDateTime */ if ( pSystemTime != NULL ) { @@ -186,7 +182,6 @@ sal_Bool SAL_CALL osl_getTimeValueFromDateTime( const oslDateTime* pDateTime, Ti return sal_False; } - sal_Bool SAL_CALL osl_getLocalTimeFromSystemTime( const TimeValue* pSystemTimeVal, TimeValue* pLocalTimeVal ) { struct tm *pLocalTime; |