aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/main.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-12-01 08:05:52 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-12-01 08:05:52 +0000
commited985164976ccd03ae1cd954a33c775bfc84b0c2 (patch)
tree2c4e742bc45b22b16784c4c6bf06af2e105abb2c /main.h
parent8b13e228601c0e1f3edae1b46df73770594095d0 (diff)
downloadmandoc-ed985164976ccd03ae1cd954a33c775bfc84b0c2.tar.gz
mandoc-ed985164976ccd03ae1cd954a33c775bfc84b0c2.tar.zst
mandoc-ed985164976ccd03ae1cd954a33c775bfc84b0c2.zip
header cleanup:
* add missing forward declarations * remove needless header inclusions * some style unification
Diffstat (limited to 'main.h')
-rw-r--r--main.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.h b/main.h
index 29fc0c07..147c22f5 100644
--- a/main.h
+++ b/main.h
@@ -1,4 +1,4 @@
-/* $Id: main.h,v 1.18 2014/12/01 04:05:32 schwarze Exp $ */
+/* $Id: main.h,v 1.19 2014/12/01 08:05:52 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -15,14 +15,14 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#define UNCONST(a) ((void *)(uintptr_t)(const void *)(a))
+
__BEGIN_DECLS
+struct mchars;
struct mdoc;
struct man;
-#define UNCONST(a) ((void *)(uintptr_t)(const void *)(a))
-
-
/*
* Definitions for main.c-visible output device functions, e.g., -Thtml
* and -Tascii. Note that ascii_alloc() is named as such in