diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-11-24 14:24:55 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-11-24 14:24:55 +0000 |
commit | 040f584be50a6f906307197da43630f7293245c8 (patch) | |
tree | 6972622ccd86eb1cdd93eb97ba1bb0aa43122f14 /mdocml.c | |
parent | 36357815a1c201ab63ccb1bfafe72be231d6aac4 (diff) | |
download | mandoc-040f584be50a6f906307197da43630f7293245c8.tar.gz mandoc-040f584be50a6f906307197da43630f7293245c8.tar.zst mandoc-040f584be50a6f906307197da43630f7293245c8.zip |
Split roff engine into roff.c.
Re-worked calling convention for md_*.
Diffstat (limited to 'mdocml.c')
-rw-r--r-- | mdocml.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: mdocml.c,v 1.9 2008/11/23 23:12:47 kristaps Exp $ */ +/* $Id: mdocml.c,v 1.10 2008/11/24 14:24:55 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se> * @@ -55,6 +55,8 @@ main(int argc, char *argv[]) extern int optind; out = in = NULL; + + (void)memset(&args, 0, sizeof(struct md_args)); while (-1 != (c = getopt(argc, argv, "vo:"))) switch (c) { @@ -75,7 +77,7 @@ main(int argc, char *argv[]) if (1 == argc) in = *argv++; - args.type = MD_HTML4_STRICT; + args.type = MD_DUMMY; return(begin_io(&args, out ? out : "-", in ? in : "-")); } |