diff options
author | Joerg Sonnenberger <joerg@netbsd.org> | 2010-05-15 16:18:23 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@netbsd.org> | 2010-05-15 16:18:23 +0000 |
commit | cb574fba99de6900929ef272a818f2b4c756abbd (patch) | |
tree | 36624b5c75ad51535c0692a957c0c0eb058b142d /main.h | |
parent | 23ae8ccb1b52134baac639bb4490d75fd11c858e (diff) | |
download | mandoc-cb574fba99de6900929ef272a818f2b4c756abbd.tar.gz mandoc-cb574fba99de6900929ef272a818f2b4c756abbd.tar.zst mandoc-cb574fba99de6900929ef272a818f2b4c756abbd.zip |
Make the output width an option for ascii_alloc and use that to compute
the default margin. Hard-code 80 chars/line for now.
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: main.h,v 1.2 2010/01/29 14:39:38 kristaps Exp $ */ +/* $Id: main.h,v 1.3 2010/05/15 16:18:23 joerg Exp $ */ /* * Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -38,7 +38,7 @@ void html_free(void *); void tree_mdoc(void *, const struct mdoc *); void tree_man(void *, const struct man *); -void *ascii_alloc(void); +void *ascii_alloc(size_t); void terminal_mdoc(void *, const struct mdoc *); void terminal_man(void *, const struct man *); void terminal_free(void *); |