summaryrefslogtreecommitdiffstats
path: root/mdoc_macro.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-08-13 11:43:24 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-08-13 11:43:24 +0000
commit0e0a1095bd43dfa6ae1e90b823dac732a6ed980b (patch)
treed9227b27a18455c019ed58249080aef3b83e8dac /mdoc_macro.c
parent5015f5abc741b2dd29b2baa650923af7cd24f807 (diff)
downloadmandoc-0e0a1095bd43dfa6ae1e90b823dac732a6ed980b.tar.gz
Noted areas that need work in libmdoc.
Diffstat (limited to 'mdoc_macro.c')
-rw-r--r--mdoc_macro.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdoc_macro.c b/mdoc_macro.c
index 1b8fbd9b..379e8c7d 100644
--- a/mdoc_macro.c
+++ b/mdoc_macro.c
@@ -45,7 +45,7 @@ static int rew_impblock(struct mdoc *, int, int, int);
static int rew_expblock(struct mdoc *, int, int, int);
static int rew_subblock(enum mdoc_type,
struct mdoc *, int, int, int);
-static int rew_last(struct mdoc *, struct mdoc_node *);
+static int rew_last(struct mdoc *, struct mdoc_node *); /* FIXME: make const */
static int append_delims(struct mdoc *, int, int *, char *);
static int lookup(struct mdoc *, int, const char *);
static int lookup_raw(struct mdoc *, const char *);
@@ -599,6 +599,7 @@ rew_expblock(struct mdoc *mdoc, int tok, int line, int ppos)
}
+/* FIXME: can this be merged with subblock? */
static int
rew_impblock(struct mdoc *mdoc, int tok, int line, int ppos)
{