]> xenbits.xensource.com Git - unikraft/libs/newlib.git/commitdiff
Remove implementation of time()
authorRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Fri, 14 May 2021 15:34:22 +0000 (18:34 +0300)
committerUnikraft <monkey@unikraft.io>
Fri, 14 May 2021 20:58:21 +0000 (20:58 +0000)
time() is now implemented as part of the uktime Unikraft library. Remove
newlib implementation of time() to have a single definition.

Signed-off-by: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Reviewed-by: Alexander Jung <a.jung@lancs.ac.uk>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Pull-Request: #5

Makefile.uk

index 49151b24b40e05f0a8a0d24802a06f71037d0758..3f49764a1513075e16230050a9189f64a0196e87 100644 (file)
@@ -849,7 +849,6 @@ LIBNEWLIBC_SRCS-y += $(LIBNEWLIB_LIBC)/time/mktime.c
 LIBNEWLIBC_SRCS-y += $(LIBNEWLIB_LIBC)/time/month_lengths.c
 LIBNEWLIBC_SRCS-y += $(LIBNEWLIB_LIBC)/time/strftime.c
 LIBNEWLIBC_SRCS-y += $(LIBNEWLIB_LIBC)/time/strptime.c
-LIBNEWLIBC_SRCS-y += $(LIBNEWLIB_LIBC)/time/time.c
 LIBNEWLIBC_SRCS-y += $(LIBNEWLIB_LIBC)/time/tzcalc_limits.c
 LIBNEWLIBC_SRCS-y += $(LIBNEWLIB_LIBC)/time/tzlock.c
 LIBNEWLIBC_SRCS-y += $(LIBNEWLIB_LIBC)/time/tzset.c