summaryrefslogtreecommitdiffstats
path: root/man_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-08-22 09:10:37 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-08-22 09:10:37 +0000
commit84eacc4c414fdcc460e6b117d665a17c11bea2c6 (patch)
treea8672f482877678dbfb7f6f720db77170c6da97f /man_term.c
parentde2f1180552ba0141ccf20dd2a4665ee6a724d7e (diff)
downloadmandoc-84eacc4c414fdcc460e6b117d665a17c11bea2c6.tar.gz
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.
Diffstat (limited to 'man_term.c')
-rw-r--r--man_term.c13
1 files changed, 12 insertions, 1 deletions
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__
@@ -208,6 +210,15 @@ arg_width(const struct man_node *n)
/* ARGSUSED */
static int
+pre_ign(DECL_ARGS)
+{
+
+ return(0);
+}
+
+
+/* ARGSUSED */
+static int
pre_I(DECL_ARGS)
{