summaryrefslogtreecommitdiff
path: root/lib/libc/time
diff options
context:
space:
mode:
authorpgoyette <pgoyette@NetBSD.org>2019-01-27 02:08:33 +0000
committerpgoyette <pgoyette@NetBSD.org>2019-01-27 02:08:33 +0000
commitcc17ee2ece085d7d746bcd8fa9be19170855aaac (patch)
tree5be40613f405cb081b2c44410b1506781927f8e3 /lib/libc/time
parent10dd4cc92542aa04b0e59469a484a48e4c3cdd24 (diff)
Merge the [pgoyette-compat] branch
Diffstat (limited to 'lib/libc/time')
-rw-r--r--lib/libc/time/asctime.c6
-rw-r--r--lib/libc/time/difftime.c6
-rw-r--r--lib/libc/time/localtime.c6
-rw-r--r--lib/libc/time/zdump.c4
4 files changed, 14 insertions, 8 deletions
diff --git a/lib/libc/time/asctime.c b/lib/libc/time/asctime.c
index a43baefd218..468c845d88e 100644
--- a/lib/libc/time/asctime.c
+++ b/lib/libc/time/asctime.c
@@ -1,4 +1,6 @@
-/* $NetBSD: asctime.c,v 1.25 2018/05/04 15:51:00 christos Exp $ */
+/* $NetBSD: asctime.c,v 1.26 2019/01/27 02:08:35 pgoyette Exp $ */
+
+/* asctime and asctime_r a la POSIX and ISO C, except pad years before 1000. */
/* asctime and asctime_r a la POSIX and ISO C, except pad years before 1000. */
@@ -18,7 +20,7 @@
#if 0
static char elsieid[] = "@(#)asctime.c 8.5";
#else
-__RCSID("$NetBSD: asctime.c,v 1.25 2018/05/04 15:51:00 christos Exp $");
+__RCSID("$NetBSD: asctime.c,v 1.26 2019/01/27 02:08:35 pgoyette Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
diff --git a/lib/libc/time/difftime.c b/lib/libc/time/difftime.c
index 65315775cf1..2a89136c8c3 100644
--- a/lib/libc/time/difftime.c
+++ b/lib/libc/time/difftime.c
@@ -1,4 +1,6 @@
-/* $NetBSD: difftime.c,v 1.19 2018/10/19 23:05:35 christos Exp $ */
+/* $NetBSD: difftime.c,v 1.20 2019/01/27 02:08:35 pgoyette Exp $ */
+
+/* Return the difference between two timestamps. */
/* Return the difference between two timestamps. */
@@ -12,7 +14,7 @@
#if 0
static char elsieid[] = "@(#)difftime.c 8.1";
#else
-__RCSID("$NetBSD: difftime.c,v 1.19 2018/10/19 23:05:35 christos Exp $");
+__RCSID("$NetBSD: difftime.c,v 1.20 2019/01/27 02:08:35 pgoyette Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
diff --git a/lib/libc/time/localtime.c b/lib/libc/time/localtime.c
index 15f258a8ef2..526178bfac9 100644
--- a/lib/libc/time/localtime.c
+++ b/lib/libc/time/localtime.c
@@ -1,4 +1,6 @@
-/* $NetBSD: localtime.c,v 1.114 2019/01/01 03:04:56 christos Exp $ */
+/* $NetBSD: localtime.c,v 1.115 2019/01/27 02:08:35 pgoyette Exp $ */
+
+/* Convert timestamp from time_t to struct tm. */
/* Convert timestamp from time_t to struct tm. */
@@ -12,7 +14,7 @@
#if 0
static char elsieid[] = "@(#)localtime.c 8.17";
#else
-__RCSID("$NetBSD: localtime.c,v 1.114 2019/01/01 03:04:56 christos Exp $");
+__RCSID("$NetBSD: localtime.c,v 1.115 2019/01/27 02:08:35 pgoyette Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
diff --git a/lib/libc/time/zdump.c b/lib/libc/time/zdump.c
index 84ee1b75ac3..ba8bde3f739 100644
--- a/lib/libc/time/zdump.c
+++ b/lib/libc/time/zdump.c
@@ -1,4 +1,4 @@
-/* $NetBSD: zdump.c,v 1.51 2019/01/01 03:04:56 christos Exp $ */
+/* $NetBSD: zdump.c,v 1.52 2019/01/27 02:08:35 pgoyette Exp $ */
/* Dump time zone data in a textual format. */
/*
@@ -8,7 +8,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: zdump.c,v 1.51 2019/01/01 03:04:56 christos Exp $");
+__RCSID("$NetBSD: zdump.c,v 1.52 2019/01/27 02:08:35 pgoyette Exp $");
#endif /* !defined lint */
#ifndef NETBSD_INSPIRED