summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-04-06 17:01:27 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-04-06 17:01:27 +0000
commitf6dd6a8975af8d5bf3e1397a69e955666d4ee3c3 (patch)
tree4bd07d7ae73f3c249fbdf26c5f7b60cb19119a35 /mdoc_validate.c
parent188c8509a88c2d2372877692bfb173e9de929404 (diff)
downloadmandoc-f6dd6a8975af8d5bf3e1397a69e955666d4ee3c3.tar.gz
Removed warning for `Er' when not used in certain sections (pointed out by Joerg Sonnenberger).
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r--mdoc_validate.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index f2bdeff2..2f27220d 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -102,7 +102,6 @@ static int pre_cd(PRE_ARGS);
static int pre_dd(PRE_ARGS);
static int pre_display(PRE_ARGS);
static int pre_dt(PRE_ARGS);
-static int pre_er(PRE_ARGS);
static int pre_ex(PRE_ARGS);
static int pre_fd(PRE_ARGS);
static int pre_it(PRE_ARGS);
@@ -142,7 +141,7 @@ static v_pre pres_cd[] = { pre_cd, NULL };
static v_pre pres_d1[] = { pre_display, NULL };
static v_pre pres_dd[] = { pre_dd, NULL };
static v_pre pres_dt[] = { pre_dt, NULL };
-static v_pre pres_er[] = { pre_er, NULL };
+static v_pre pres_er[] = { NULL, NULL };
static v_pre pres_ex[] = { pre_ex, NULL };
static v_pre pres_fd[] = { pre_fd, NULL };
static v_pre pres_it[] = { pre_it, NULL };
@@ -804,14 +803,6 @@ pre_ex(PRE_ARGS)
static int
-pre_er(PRE_ARGS)
-{
-
- return(check_msec(mdoc, n, 2, 3, 9, 0));
-}
-
-
-static int
pre_cd(PRE_ARGS)
{