aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/out.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-22 18:55:32 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-22 18:55:32 +0000
commitcd3461ed2decce6e980d3a4c93c615bd8f4cb5c0 (patch)
treed62af90d1db9db8f0dd241d06a9e221234572467 /out.h
parent97e702f1687ec3975b215d6ea566bf1d6aca30a8 (diff)
downloadmandoc-cd3461ed2decce6e980d3a4c93c615bd8f4cb5c0.tar.gz
mandoc-cd3461ed2decce6e980d3a4c93c615bd8f4cb5c0.tar.zst
mandoc-cd3461ed2decce6e980d3a4c93c615bd8f4cb5c0.zip
Fixed maddening mismatch between groff and strftime mismatch of day ("%e"). Noted by Ulrich Sporlein.
Diffstat (limited to 'out.h')
-rw-r--r--out.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/out.h b/out.h
index 5f47fb7b..eb589afb 100644
--- a/out.h
+++ b/out.h
@@ -1,4 +1,4 @@
-/* $Id: out.h,v 1.5 2009/10/18 19:02:11 kristaps Exp $ */
+/* $Id: out.h,v 1.6 2009/10/22 18:55:33 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -17,6 +17,8 @@
#ifndef OUT_H
#define OUT_H
+#define DATESIZ 24
+
__BEGIN_DECLS
enum roffscale {
@@ -52,6 +54,7 @@ struct roffsu {
int a2roffsu(const char *,
struct roffsu *, enum roffscale);
+void time2a(time_t, char *, size_t);
__END_DECLS