From 8492f115890d56c98c1da24b9fdf26bb1b714c05 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 4 Jan 2024 20:36:02 -0300 Subject: Setup stub unit test infrastructure --- src/time/ctime_r.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/time/ctime_r.c') diff --git a/src/time/ctime_r.c b/src/time/ctime_r.c index 3e24aa68..b787bbc2 100644 --- a/src/time/ctime_r.c +++ b/src/time/ctime_r.c @@ -5,3 +5,11 @@ char *ctime_r(const time_t *t, char *buf) struct tm tm, *tm_p = localtime_r(t, &tm); return tm_p ? asctime_r(tm_p, buf) : 0; } + + +#ifdef TEST +int +main(void) { + return 0; +} +#endif -- cgit v1.2.3