Skip to content

Commit 7d8df9e

Browse files
committed
Remove outdated TODO comments
Removed outdated "TODO: Clarify newlib's handling of time units" comments as the time unit conversion error in newlib was fixed in v4.4.0 [1]. Link: https://sourceware.org/git/?p=newlib-cygwin.git;a=commit;h=5f15d7c5817b07a6b18cbab17342c95cb7b42be4 [1]
1 parent a8aa29e commit 7d8df9e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/utils.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,6 @@ void rv_gettimeofday(struct timeval *tv)
5959
tv->tv_usec = tv_usec;
6060
}
6161

62-
/* TODO: Clarify newlib's handling of time units.
63-
* It appears that newlib is using millisecond resolution for time manipulation,
64-
* while clock_gettime expects nanoseconds in the timespec struct.
65-
* Further investigation are needed.
66-
*/
6762
void rv_clock_gettime(struct timespec *tp)
6863
{
6964
int32_t tv_sec, tv_usec;

0 commit comments

Comments
 (0)