diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-12 20:30:35 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-12 20:30:35 +0000 |
commit | f73e57538b043ce8b2e27e9f5acc7d95ea3e332f (patch) | |
tree | 2da0361b57d2b7e86cf6b4cba8bd38d377e687a0 /mdoc_term.c | |
parent | f564800eb22e4968fd18f741ca173e45ff1c8f93 (diff) | |
download | mandoc-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.c | 15 |
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) { |