summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/out.h
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2009-10-27 21:40:07 +0000
committerschwarze <schwarze@openbsd.org>2009-10-27 21:40:07 +0000
commitb822ca0d77807d44eec5a00444afad079a24e43c (patch)
tree61739724919c5c74eb5ced4fd954890ec97056bc /usr.bin/mandoc/out.h
parentupdate moduli file; ok deraadt (diff)
downloadwireguard-openbsd-b822ca0d77807d44eec5a00444afad079a24e43c.tar.xz
wireguard-openbsd-b822ca0d77807d44eec5a00444afad079a24e43c.zip
sync to 1.9.11: adapt printing of dates to groff conventions,
NetBSD portability fixes and some minor bugfixes and feature enhancements; also checked that my hyphenation code still works on top of this
Diffstat (limited to 'usr.bin/mandoc/out.h')
-rw-r--r--usr.bin/mandoc/out.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/mandoc/out.h b/usr.bin/mandoc/out.h
index 672b9959fd6..c484115066a 100644
--- a/usr.bin/mandoc/out.h
+++ b/usr.bin/mandoc/out.h
@@ -1,4 +1,4 @@
-/* $Id: out.h,v 1.1 2009/10/21 19:13:51 schwarze Exp $ */
+/* $Id: out.h,v 1.2 2009/10/27 21:40:07 schwarze 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