Skip to content

Commit

Permalink
hdr: correct mistake in time.h header file
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalak committed Nov 22, 2024
1 parent af22be7 commit 3002c83
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions bld/hdr/watcom/time.mh
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand All @@ -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
Expand Down

0 comments on commit 3002c83

Please sign in to comment.