summaryrefslogtreecommitdiffstats
path: root/libmdoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-03-17 01:23:28 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-03-17 01:23:28 +0000
commit684938dc1d7c8591d0b63657a1d36b25b24eaea8 (patch)
tree10a58e41eb97d1516b26419cab0bebf1ed50306c /libmdoc.h
parentd44be71f515f8494313986bc8379bc35f75dc802 (diff)
downloadmandoc-684938dc1d7c8591d0b63657a1d36b25b24eaea8.tar.gz
Make args_checkpunct() use mdoc_isdelim() instead of mdoc_iscdelim(),
which is wrong. Then remove mdoc_iscdelim() alltogether.
Diffstat (limited to 'libmdoc.h')
-rw-r--r--libmdoc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmdoc.h b/libmdoc.h
index fc3e45aa..947254fb 100644
--- a/libmdoc.h
+++ b/libmdoc.h
@@ -114,7 +114,7 @@ int mdoc_endbody_alloc(struct mdoc *m, int line, int pos,
void mdoc_node_delete(struct mdoc *, struct mdoc_node *);
void mdoc_hash_init(void);
enum mdoct mdoc_hash_find(const char *);
-enum mdelim mdoc_iscdelim(char);
+#define DELIMSZ 6 /* maximum size of a delimiter string */
enum mdelim mdoc_isdelim(const char *);
size_t mdoc_isescape(const char *);
enum mdoc_sec mdoc_str2sec(const char *);