summaryrefslogtreecommitdiffstats
path: root/mlg.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-12-10 12:05:33 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-12-10 12:05:33 +0000
commit349718f4b8e31663549686fa17aa489c79d94cf3 (patch)
tree27b9c9e5c7230f3492d187b433417c556b48b115 /mlg.c
parentf78e525bbf6c4d6f545d78949778d95f5dfaa55f (diff)
downloadmandoc-349718f4b8e31663549686fa17aa489c79d94cf3.tar.gz
Versioning up.
Diffstat (limited to 'mlg.c')
-rw-r--r--mlg.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/mlg.c b/mlg.c
index f4cb3f30..8e8e2956 100644
--- a/mlg.c
+++ b/mlg.c
@@ -59,7 +59,9 @@ static int mlg_roffmsg(void *arg,
static int mlg_roffhead(void *, const struct tm *,
const char *, const char *,
enum roffmsec, enum roffvol);
-static int mlg_rofftail(void *);
+static int mlg_rofftail(void *, const struct tm *,
+ const char *, const char *,
+ enum roffmsec, enum roffvol);
static int mlg_roffin(void *, int,
int *, const char **);
static int mlg_roffdata(void *, int,
@@ -413,7 +415,8 @@ mlg_roffhead(void *arg, const struct tm *tm, const char *os,
mlg_mode(p, MD_BLK_IN);
- if ( ! (*p->cbs.ml_begin)(p->mbuf, p->args, tm, os, title, sec, vol))
+ if ( ! (*p->cbs.ml_begin)(p->mbuf, p->args,
+ tm, os, title, sec, vol))
return(0);
p->indent++;
@@ -422,7 +425,8 @@ mlg_roffhead(void *arg, const struct tm *tm, const char *os,
static int
-mlg_rofftail(void *arg)
+mlg_rofftail(void *arg, const struct tm *tm, const char *os,
+ const char *title, enum roffmsec sec, enum roffvol vol)
{
struct md_mlg *p;
@@ -433,11 +437,11 @@ mlg_rofftail(void *arg)
if ( ! mlg_newline(p))
return(0);
- if ( ! (*p->cbs.ml_end)(p->mbuf, p->args))
+ if ( ! (*p->cbs.ml_end)(p->mbuf, p->args,
+ tm, os, title, sec, vol))
return(0);
mlg_mode(p, MD_BLK_OUT);
-
return(mlg_newline(p));
}