aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/eqn_parse.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-12-13 05:23:37 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-12-13 05:23:37 +0000
commit32c0933851c645dfc5d1af1bda32e80c9f237254 (patch)
treefab2cd59317b0b0eabad302f92f03d5eadc60c25 /eqn_parse.h
parent41c83570cd0b176c663b583e5990f9869f214754 (diff)
downloadmandoc-32c0933851c645dfc5d1af1bda32e80c9f237254.tar.gz
mandoc-32c0933851c645dfc5d1af1bda32e80c9f237254.tar.zst
mandoc-32c0933851c645dfc5d1af1bda32e80c9f237254.zip
Cleanup, no functional change:
No need to expose the eqn(7) syntax tree data structures everywhere. Move them to their own include file, "eqn.h". While here, delete the unused enum eqn_pilet.
Diffstat (limited to 'eqn_parse.h')
-rw-r--r--eqn_parse.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/eqn_parse.h b/eqn_parse.h
index 873720b2..c0090119 100644
--- a/eqn_parse.h
+++ b/eqn_parse.h
@@ -1,7 +1,7 @@
-/* $Id: eqn_parse.h,v 1.1 2018/12/13 03:40:13 schwarze Exp $ */
+/* $Id: eqn_parse.h,v 1.2 2018/12/13 05:23:38 schwarze Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
- * Copyright (c) 2014, 2017 Ingo Schwarze <schwarze@openbsd.org>
+ * Copyright (c) 2014, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -42,6 +42,7 @@ struct eqn_node {
struct eqn_node *eqn_alloc(struct mparse *);
+struct eqn_box *eqn_box_new(void);
void eqn_box_free(struct eqn_box *);
void eqn_free(struct eqn_node *);
void eqn_parse(struct eqn_node *);