summaryrefslogtreecommitdiffstats
path: root/mlg.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-12-04 11:25:29 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-12-04 11:25:29 +0000
commitbbaed73e9a14101e88d84225a902613116c536e9 (patch)
tree541891d0a3f52c023f0304922909e40b533d4204 /mlg.c
parentf0f40906a39936e2d4cd4ddcb8bf4bdb33c2da08 (diff)
downloadmandoc-bbaed73e9a14101e88d84225a902613116c536e9.tar.gz
More html-css.
Diffstat (limited to 'mlg.c')
-rw-r--r--mlg.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/mlg.c b/mlg.c
index c771bcff..cad6e9bb 100644
--- a/mlg.c
+++ b/mlg.c
@@ -63,7 +63,9 @@ struct md_mlg {
static void mlg_roffmsg(void *arg, enum roffmsg,
const char *, const char *, char *);
-static int mlg_roffhead(void *);
+static int mlg_roffhead(void *, const struct tm *,
+ const char *, const char *,
+ const char *, const char *);
static int mlg_rofftail(void *);
static int mlg_roffin(void *, int, int *, char **);
static int mlg_roffdata(void *, int, char *);
@@ -346,7 +348,8 @@ mlg_alloc(const struct md_args *args,
static int
-mlg_roffhead(void *arg)
+mlg_roffhead(void *arg, const struct tm *tm, const char *os,
+ const char *title, const char *sec, const char *vol)
{
struct md_mlg *p;
@@ -354,7 +357,7 @@ mlg_roffhead(void *arg)
p = (struct md_mlg *)arg;
mlg_mode(p, MD_BLK_IN);
- if ( ! (*p->begin)(p->mbuf, p->args))
+ if ( ! (*p->begin)(p->mbuf, p->args, tm, os, title, sec, vol))
return(0);
p->indent++;