summaryrefslogtreecommitdiffstats
path: root/ml.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-12-08 12:46:28 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-12-08 12:46:28 +0000
commit590484168e25f0faf46db9b6df44c27b50ffeb50 (patch)
tree2710f24f8b76175801d4fb7b79499f2425c13e0d /ml.h
parent1dc52a2bad8738c62ac5bc9689c09600eb7b1269 (diff)
downloadmandoc-590484168e25f0faf46db9b6df44c27b50ffeb50.tar.gz
Added warnings for using macros in the wrong sections.
Diffstat (limited to 'ml.h')
-rw-r--r--ml.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ml.h b/ml.h
index 3fea13b6..58a78ad6 100644
--- a/ml.h
+++ b/ml.h
@@ -34,7 +34,7 @@ struct ml_cbs {
const struct md_args *,
const struct tm *,
const char *, const char *,
- const char *, const char *);
+ enum roffmsec, const char *);
int (*ml_end)(struct md_mbuf *,
const struct md_args *);
ssize_t (*ml_beginstring)(struct md_mbuf *,
@@ -67,6 +67,7 @@ int ml_putchars(struct md_mbuf *,
char, size_t, size_t *);
char *ml_literal(int, const int *,
const char **, const char **);
+char *ml_section(enum roffmsec);
struct md_mlg *mlg_alloc(const struct md_args *,
const struct md_rbuf *, struct md_mbuf *,