From 0587ad80d46d89f36315c37bbd67cf8899708b8d Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 17 May 2011 14:38:34 +0000 Subject: Add mode for -Tlocale. This mode, with this commit, behaves exactly like -Tascii. While adding this, inline term_alloc() (was a one-liner), remove some switches around the terminal encoding for the symbol table (unnecessary), and split out ascii_alloc() into ascii_init(), which is also called from locale_init(). --- main.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main.h') diff --git a/main.h b/main.h index bb503eb7..75637b36 100644 --- a/main.h +++ b/main.h @@ -1,4 +1,4 @@ -/* $Id: main.h,v 1.10 2010/07/31 23:52:58 schwarze Exp $ */ +/* $Id: main.h,v 1.11 2011/05/17 14:38:34 kristaps Exp $ */ /* * Copyright (c) 2009, 2010 Kristaps Dzonsons * @@ -41,6 +41,7 @@ void html_free(void *); void tree_mdoc(void *, const struct mdoc *); void tree_man(void *, const struct man *); +void *locale_alloc(char *); void *ascii_alloc(char *); void ascii_free(void *); -- cgit v1.2.3