summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mandoc/libman.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2014-07-25 14:50:37 -0700
committerGarrett D'Amore <garrett@damore.org>2014-08-02 00:19:34 -0700
commit698f87a48e2e945bfe5493ce168e0d0ae1cedd5c (patch)
tree385784d73d5e580be0ffca40abad0dabf0e6084d /usr/src/cmd/mandoc/libman.h
parent7f18da4c54210b682e105b0e7be5195c60f98d20 (diff)
downloadillumos-gate-698f87a48e2e945bfe5493ce168e0d0ae1cedd5c.tar.gz
5051 import mdocml-1.12.3
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Rich Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/cmd/mandoc/libman.h')
-rw-r--r--usr/src/cmd/mandoc/libman.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr/src/cmd/mandoc/libman.h b/usr/src/cmd/mandoc/libman.h
index 4bc5128204..f2ba6a1256 100644
--- a/usr/src/cmd/mandoc/libman.h
+++ b/usr/src/cmd/mandoc/libman.h
@@ -1,4 +1,4 @@
-/* $Id: libman.h,v 1.55 2011/11/07 01:24:40 schwarze Exp $ */
+/* $Id: libman.h,v 1.56 2012/11/17 00:26:33 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -39,7 +39,7 @@ struct man {
struct roff *roff;
};
-#define MACRO_PROT_ARGS struct man *m, \
+#define MACRO_PROT_ARGS struct man *man, \
enum mant tok, \
int line, \
int ppos, \
@@ -61,10 +61,10 @@ extern const struct man_macro *const man_macros;
__BEGIN_DECLS
-#define man_pmsg(m, l, p, t) \
- mandoc_msg((t), (m)->parse, (l), (p), NULL)
-#define man_nmsg(m, n, t) \
- mandoc_msg((t), (m)->parse, (n)->line, (n)->pos, NULL)
+#define man_pmsg(man, l, p, t) \
+ mandoc_msg((t), (man)->parse, (l), (p), NULL)
+#define man_nmsg(man, n, t) \
+ mandoc_msg((t), (man)->parse, (n)->line, (n)->pos, NULL)
int man_word_alloc(struct man *, int, int, const char *);
int man_block_alloc(struct man *, int, int, enum mant);
int man_head_alloc(struct man *, int, int, enum mant);