summaryrefslogtreecommitdiffstats
path: root/man_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-06-15 20:26:47 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-06-15 20:26:47 +0000
commit4c30e6f109f12c3f061caa13660a9a30fc807db2 (patch)
treeee6c50245a98d2945294e033fd752b75eeb11e4d /man_term.c
parentb5f5132460569831e3cc1a0d98a05956f6f25f50 (diff)
downloadmandoc-4c30e6f109f12c3f061caa13660a9a30fc807db2.tar.gz
Removed superfluous ifdef around strftime (schwarze@openbsd.org).
Bumped version (this was supposed to be in 1.7.17).
Diffstat (limited to 'man_term.c')
-rw-r--r--man_term.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/man_term.c b/man_term.c
index 976139a2..698304b7 100644
--- a/man_term.c
+++ b/man_term.c
@@ -449,11 +449,7 @@ print_foot(struct termp *p, const struct man_meta *meta)
tm = localtime(&meta->date);
-#ifdef __OpenBSD__
- if (NULL == strftime(buf, p->rmargin, "%B %d, %Y", tm))
-#else
if (0 == strftime(buf, p->rmargin, "%B %d, %Y", tm))
-#endif
err(1, "strftime");
term_vspace(p);