summaryrefslogtreecommitdiff
path: root/libntp/humandate.c
diff options
context:
space:
mode:
Diffstat (limited to 'libntp/humandate.c')
-rw-r--r--libntp/humandate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libntp/humandate.c b/libntp/humandate.c
index f88d8d2..d9d5e89 100644
--- a/libntp/humandate.c
+++ b/libntp/humandate.c
@@ -13,7 +13,7 @@
/* This is used in msyslog.c; we don't want to clutter up the log with
the year and day of the week, etc.; just the minimal date and time. */
-char *
+const char *
humanlogtime(void)
{
char * bp;
@@ -39,7 +39,7 @@ humanlogtime(void)
* humantime() -- like humanlogtime() but without date, and with the
* time to display given as an argument.
*/
-char *
+const char *
humantime(
time_t cursec
)