Skip to content

Commit 7256196

Browse files
committed
Remove unknown/unused/untested timelocal library function
Found when auditing untested library functions. This alias function was added back in 48a2a87 as part of the implemention of time.h function but I can't find anything about this function existing on any system. Perhaps it was typo for `localtime`, which is a thing?
1 parent ff75baa commit 7256196

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/library.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,6 @@ LibraryManager.library = {
580580

581581
return (date.getTime() / 1000)|0;
582582
},
583-
timelocal: 'mktime',
584583

585584
#if MINIMAL_RUNTIME
586585
gmtime_r__deps: ['$allocateUTF8'],

0 commit comments

Comments
 (0)