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 | 3238820d08da942be84ccab704e810b0f6d8bcf4 (patch) | |
tree | 95aa8bf9dc7c3dfb08fb8b46d811fabd58008b44 /mdocml.c | |
parent | a73f55c2be0ca8e1deeeb05389879a52e46f05d2 (diff) | |
download | mandoc-3238820d08da942be84ccab704e810b0f6d8bcf4.tar.gz |
Split roff engine into roff.c.
Re-worked calling convention for md_*.
Diffstat (limited to 'mdocml.c')
-rw-r--r-- | mdocml.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 : "-")); } |