summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-12 20:30:35 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-12 20:30:35 +0000
commitf73e57538b043ce8b2e27e9f5acc7d95ea3e332f (patch)
tree2da0361b57d2b7e86cf6b4cba8bd38d377e687a0 /mdoc_term.c
parentf564800eb22e4968fd18f741ca173e45ff1c8f93 (diff)
downloadmandoc-f73e57538b043ce8b2e27e9f5acc7d95ea3e332f.tar.gz
Moved mdoc_a2st() out of mdoc.h -> libmdoc.h (replacement in mdoc_action.c).
Made bad standards into an error (were a warning).
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index ecc33795..1728400e 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -166,7 +166,6 @@ static int termp_sh_pre(DECL_ARGS);
static int termp_sm_pre(DECL_ARGS);
static int termp_sq_pre(DECL_ARGS);
static int termp_ss_pre(DECL_ARGS);
-static int termp_st_pre(DECL_ARGS);
static int termp_sx_pre(DECL_ARGS);
static int termp_sy_pre(DECL_ARGS);
static int termp_ud_pre(DECL_ARGS);
@@ -213,7 +212,7 @@ static const struct termact termacts[MDOC_MAX] = {
{ NULL, NULL }, /* Ot */
{ termp_pa_pre, NULL }, /* Pa */
{ termp_rv_pre, NULL }, /* Rv */
- { termp_st_pre, NULL }, /* St */
+ { NULL, NULL }, /* St */
{ termp_va_pre, NULL }, /* Va */
{ termp_vt_pre, termp_vt_post }, /* Vt */
{ termp_xr_pre, NULL }, /* Xr */
@@ -1042,18 +1041,6 @@ termp_pp_pre(DECL_ARGS)
/* ARGSUSED */
static int
-termp_st_pre(DECL_ARGS)
-{
- const char *cp;
-
- if (node->child && (cp = mdoc_a2st(node->child->string)))
- term_word(p, cp);
- return(0);
-}
-
-
-/* ARGSUSED */
-static int
termp_rs_pre(DECL_ARGS)
{