-static void termprint_r(struct termp *,
- const struct mdoc_meta *,
- const struct mdoc_node *);
-static void termprint_header(struct termp *,
- const struct mdoc_meta *);
-static void termprint_footer(struct termp *,
- const struct mdoc_meta *);
-
-static void newln(struct termp *);
-static void vspace(struct termp *);
-static void pword(struct termp *, const char *, size_t);
-static void word(struct termp *, const char *);
-
-static int termp_it_pre(struct termp *,
- const struct mdoc_meta *,
- const struct mdoc_node *);
-static int termp_ns_pre(struct termp *,
- const struct mdoc_meta *,
- const struct mdoc_node *);
-static int termp_pp_pre(struct termp *,
- const struct mdoc_meta *,
- const struct mdoc_node *);
-static int termp_fl_pre(struct termp *,
- const struct mdoc_meta *,
- const struct mdoc_node *);
-static int termp_op_pre(struct termp *,
- const struct mdoc_meta *,
- const struct mdoc_node *);
-static int termp_op_post(struct termp *,
- const struct mdoc_meta *,
- const struct mdoc_node *);
-static int termp_bl_post(struct termp *,
- const struct mdoc_meta *,
- const struct mdoc_node *);
-static int termp_sh_post(struct termp *,
- const struct mdoc_meta *,
- const struct mdoc_node *);
-static int termp_sh_pre(struct termp *,
- const struct mdoc_meta *,
- const struct mdoc_node *);
-static int termp_nd_pre(struct termp *,
- const struct mdoc_meta *,
- const struct mdoc_node *);
-static int termp_bold_pre(struct termp *,
- const struct mdoc_meta *,
- const struct mdoc_node *);
-static int termp_under_pre(struct termp *,
- const struct mdoc_meta *,
- const struct mdoc_node *);
-static int termp_bold_post(struct termp *,
- const struct mdoc_meta *,
- const struct mdoc_node *);
-static int termp_under_post(struct termp *,
- const struct mdoc_meta *,
- const struct mdoc_node *);
-
-const struct termact termacts[MDOC_MAX] = {