summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r--mdoc_validate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index d4e6631e..676862fb 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -44,7 +44,7 @@ struct valids {
v_post *post;
};
-static int check_parent(PRE_ARGS, int, enum mdoc_type);
+static int check_parent(PRE_ARGS, enum mdoct, enum mdoc_type);
static int check_msec(PRE_ARGS, ...);
static int check_sec(PRE_ARGS, ...);
static int check_stdarg(PRE_ARGS);
@@ -547,7 +547,7 @@ check_text(struct mdoc *mdoc, int line, int pos, const char *p)
static int
-check_parent(PRE_ARGS, int tok, enum mdoc_type t)
+check_parent(PRE_ARGS, enum mdoct tok, enum mdoc_type t)
{
assert(n->parent);