diff --git a/bld/hdr/watcom/time.mh b/bld/hdr/watcom/time.mh index 550ff09562..5c5f7aa835 100644 --- a/bld/hdr/watcom/time.mh +++ b/bld/hdr/watcom/time.mh @@ -233,32 +233,31 @@ _WCRTLINK extern wchar_t *__wctime( const __w_time_t *, wchar_t * ); _WCRTLINK extern wchar_t *__wasctime( const __w_tm *, wchar_t * ); :include extepi.sp -:segment LINUX | QNX | RDOS :include extunix.sp +:segment LINUX | QNX | RDOS _WCRTLINK extern int timer_create( clockid_t __clock_id, struct sigevent *__evp, timer_t *__tmr ); _WCRTLINK extern int timer_delete( timer_t __timerid ); _WCRTLINK extern int timer_getoverrun( timer_t __timerid ); _WCRTLINK extern int timer_gettime( timer_t __timerid, struct itimerspec *__value ); _WCRTLINK extern int timer_settime( timer_t __timerid, int __flags, struct itimerspec *__value, struct itimerspec *__ovalue ); -:endsegment -:segment LINUX | QNX +: segment LINUX | QNX _WCRTLINK extern int clock_gettime( clockid_t __clock_id, struct timespec *__tp ); _WCRTLINK extern int clock_getres( clockid_t __clock_id, struct timespec *__res ); -:segment QNX +: segment QNX _WCRTLINK extern int clock_settime( clockid_t __clock_id, struct timespec *__tp ); -:elsesegment LINUX +: elsesegment LINUX _WCRTLINK extern int clock_settime( clockid_t __clock_id, const struct timespec *__tp ); _WCRTLINK extern int clock_nanosleep( clockid_t __clock_id, int __flags, const struct timespec *__req, struct timespec *__rmdr ); -:endsegment +: endsegment _WCRTLINK extern int nanosleep( const struct timespec *__rqtp, struct timespec *__rmtp ); -:endsegment +: endsegment +: segment QNX :include extepi.sp -:segment QNX :include ext.sp _WCRTLINK extern int clock_setres( clockid_t __clock_id, struct timespec *__res ); @@ -273,9 +272,10 @@ _WCRTLINK extern int qnx_adj_time( long, long, long *, long * ); :include extepi.sp -:endsegment :include extunix.sp +: endsegment +:endsegment _WCRTLINK extern void tzset( void ); _WCRTLINK extern char **__get_tzname_ptr( void ); #ifdef __FUNCTION_DATA_ACCESS