From cb574fba99de6900929ef272a818f2b4c756abbd Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Sat, 15 May 2010 16:18:23 +0000 Subject: Make the output width an option for ascii_alloc and use that to compute the default margin. Hard-code 80 chars/line for now. --- main.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.h') diff --git a/main.h b/main.h index 1ff1b6d2..c011cc85 100644 --- a/main.h +++ b/main.h @@ -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 * @@ -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 *); -- cgit v1.2.3-56-ge451