summaryrefslogtreecommitdiffstatshomepage
path: root/strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'strings.c')
-rw-r--r--strings.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/strings.c b/strings.c
index 960800dc..d92f1f29 100644
--- a/strings.c
+++ b/strings.c
@@ -1,4 +1,4 @@
-/* $Id: strings.c,v 1.12 2009/02/20 23:35:36 kristaps Exp $ */
+/* $Id: strings.c,v 1.13 2009/02/21 21:00:06 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -128,9 +128,9 @@ mdoc_atotime(const char *p)
(void)memset(&tm, 0, sizeof(struct tm));
- if (xstrcmp(p, "$Mdocdate: February 20 2009 $"))
+ if (xstrcmp(p, "$Mdocdate: February 21 2009 $"))
return(time(NULL));
- if ((pp = strptime(p, "$Mdocdate: February 20 2009 $", &tm)) && 0 == *pp)
+ if ((pp = strptime(p, "$Mdocdate: February 21 2009 $", &tm)) && 0 == *pp)
return(mktime(&tm));
/* XXX - this matches "June 1999", which is wrong. */
if ((pp = strptime(p, "%b %d %Y", &tm)) && 0 == *pp)
@@ -336,7 +336,7 @@ mdoc_type2a(enum mdoc_type type)
}
-char *
+const char *
mdoc_arch2a(enum mdoc_arch arch)
{
@@ -404,7 +404,7 @@ mdoc_arch2a(enum mdoc_arch arch)
}
-char *
+const char *
mdoc_vol2a(enum mdoc_vol vol)
{
@@ -438,7 +438,7 @@ mdoc_vol2a(enum mdoc_vol vol)
}
-char *
+const char *
mdoc_msec2a(enum mdoc_msec msec)
{