summaryrefslogtreecommitdiffstats
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
commit35222d2bf1b794cf12e57a16c0bef4a7bcf4eeba (patch)
tree44fe9754b5993ea9db9db6a9c6e870be5c94f738 /main.h
parentb61046b64bcba656a10cf3b23c4cb547c2f2eef5 (diff)
downloadmandoc-35222d2bf1b794cf12e57a16c0bef4a7bcf4eeba.tar.gz
header cleanup:
* add missing forward declarations * remove needless header inclusions * some style unification
Diffstat (limited to 'main.h')
-rw-r--r--main.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.h b/main.h
index 9c0e93eb..17087e5d 100644
--- a/main.h
+++ b/main.h
@@ -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