From 84eacc4c414fdcc460e6b117d665a17c11bea2c6 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 22 Aug 2009 09:10:37 +0000 Subject: Added `UC' libman macro (has no effect). Corrected `UC' and `DT' not to print their arguments. Noted that `UC' and `DT' shouldn't be used. --- man_term.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'man_term.c') diff --git a/man_term.c b/man_term.c index 7968c1df..5bcf6e6f 100644 --- a/man_term.c +++ b/man_term.c @@ -76,6 +76,7 @@ static int pre_SS(DECL_ARGS); static int pre_TP(DECL_ARGS); static int pre_br(DECL_ARGS); static int pre_fi(DECL_ARGS); +static int pre_ign(DECL_ARGS); static int pre_nf(DECL_ARGS); static int pre_r(DECL_ARGS); static int pre_sp(DECL_ARGS); @@ -120,7 +121,8 @@ static const struct termact termacts[MAN_MAX] = { { pre_r, NULL }, /* r */ { NULL, NULL }, /* RE */ { pre_RS, post_RS }, /* RS */ - { NULL, NULL }, /* DT */ + { pre_ign, NULL }, /* DT */ + { pre_ign, NULL }, /* UC */ }; #ifdef __linux__ @@ -206,6 +208,15 @@ arg_width(const struct man_node *n) } +/* ARGSUSED */ +static int +pre_ign(DECL_ARGS) +{ + + return(0); +} + + /* ARGSUSED */ static int pre_I(DECL_ARGS) -- cgit