1 /* SPDX-License-Identifier: LGPL-2.1 OR MIT */
3 * time function definitions for NOLIBC
4 * Copyright (C) 2017-2022 Willy Tarreau <w@1wt.eu>
15 static __attribute__((unused
))
16 time_t time(time_t *tptr
)
20 /* note, cannot fail here */
21 sys_gettimeofday(&tv
, NULL
);
28 /* make sure to include all global symbols */
31 #endif /* _NOLIBC_TIME_H */