aboutsummaryrefslogtreecommitdiff
path: root/src/time/ctime_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/time/ctime_r.c')
-rw-r--r--src/time/ctime_r.c8
1 files changed, 8 insertions, 0 deletions
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