aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roff.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-12-13 06:18:20 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-12-13 06:18:20 +0000
commitef4eacb2307e8303d7e4555864132f376af2ac59 (patch)
tree202e7b3ffd4ddb1199d4efc1c3392e240fc0f9ea /roff.h
parent32c0933851c645dfc5d1af1bda32e80c9f237254 (diff)
downloadmandoc-ef4eacb2307e8303d7e4555864132f376af2ac59.tar.gz
mandoc-ef4eacb2307e8303d7e4555864132f376af2ac59.tar.zst
mandoc-ef4eacb2307e8303d7e4555864132f376af2ac59.zip
Cleanup, no functional change:
Move the roffhash_*() functions from roff.h to roff_int.h because they are only intended for use by parsers, neither by main programs nor by formatters.
Diffstat (limited to 'roff.h')
-rw-r--r--roff.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/roff.h b/roff.h
index 786f16eb..cc964bed 100644
--- a/roff.h
+++ b/roff.h
@@ -1,4 +1,4 @@
-/* $Id: roff.h,v 1.62 2018/12/13 02:06:07 schwarze Exp $ */
+/* $Id: roff.h,v 1.63 2018/12/13 06:18:20 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013,2014,2015,2017,2018 Ingo Schwarze <schwarze@openbsd.org>
@@ -14,6 +14,8 @@
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ *
+ * Common data types for all syntax trees and related functions.
*/
struct ohash;
@@ -577,7 +579,4 @@ extern const char *const *roff_name;
void deroff(char **, const struct roff_node *);
-struct ohash *roffhash_alloc(enum roff_tok, enum roff_tok);
-enum roff_tok roffhash_find(struct ohash *, const char *, size_t);
-void roffhash_free(struct ohash *);
void roff_validate(struct roff_man *);