diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-03-23 11:25:25 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-03-23 11:25:25 +0000 |
commit | 6a81c8460007e1d52bf6aab06460b9ce75c1ae4b (patch) | |
tree | 5a3bfa345c1f70d7d3c6ad760fe291cc75bd6730 /mdoc_hash.c | |
parent | 4f632f9feb86ec93aaa9cd7d8ee145bf5788b13c (diff) | |
download | mandoc-6a81c8460007e1d52bf6aab06460b9ce75c1ae4b.tar.gz mandoc-6a81c8460007e1d52bf6aab06460b9ce75c1ae4b.tar.zst mandoc-6a81c8460007e1d52bf6aab06460b9ce75c1ae4b.zip |
The files mandoc.c and mandoc.h contained both specialised low-level
functions used for multiple languages (mdoc, man, roff), for example
mandoc_escape(), mandoc_getarg(), mandoc_eos(), and generic auxiliary
functions. Split the auxiliaries out into their own file and header.
While here, do some #include cleanup.
Diffstat (limited to 'mdoc_hash.c')
-rw-r--r-- | mdoc_hash.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mdoc_hash.c b/mdoc_hash.c index 59a8d26a..1a5dcc4b 100644 --- a/mdoc_hash.c +++ b/mdoc_hash.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_hash.c,v 1.18 2011/07/24 18:15:14 kristaps Exp $ */ +/* $Id: mdoc_hash.c,v 1.19 2014/03/23 11:25:26 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -28,7 +28,6 @@ #include <string.h> #include "mdoc.h" -#include "mandoc.h" #include "libmdoc.h" static unsigned char table[27 * 12]; |