From 590484168e25f0faf46db9b6df44c27b50ffeb50 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 8 Dec 2008 12:46:28 +0000 Subject: Added warnings for using macros in the wrong sections. --- ml.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ml.h') 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 *, -- cgit