summaryrefslogtreecommitdiffstats
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
commit5d4d2785b08ebc101f0eb519b9a0480a9c6f4b08 (patch)
tree15f9648cba61edda780139b44de9745a3fa812fa /eqn_parse.h
parentb705aa5d322006a519c498654b59f3b1ba185233 (diff)
downloadmandoc-5d4d2785b08ebc101f0eb519b9a0480a9c6f4b08.tar.gz
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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/eqn_parse.h b/eqn_parse.h
index 66eca319..be71b8a9 100644
--- a/eqn_parse.h
+++ b/eqn_parse.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*
* 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 *);