aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/main.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-05-17 14:38:34 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-05-17 14:38:34 +0000
commit0587ad80d46d89f36315c37bbd67cf8899708b8d (patch)
treef6e1521213cb40a637bdb175e43f121249534ba3 /main.h
parent79f16537cd09bc054f9d18169708d63030803d98 (diff)
downloadmandoc-0587ad80d46d89f36315c37bbd67cf8899708b8d.tar.gz
mandoc-0587ad80d46d89f36315c37bbd67cf8899708b8d.tar.zst
mandoc-0587ad80d46d89f36315c37bbd67cf8899708b8d.zip
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().
Diffstat (limited to 'main.h')
-rw-r--r--main.h3
1 files changed, 2 insertions, 1 deletions
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 <kristaps@bsd.lv>
*
@@ -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 *);