summaryrefslogtreecommitdiff
path: root/src/tree.c
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2016-12-13 10:13:21 -0500
committerAdrian Thurston <thurston@colm.net>2016-12-13 10:13:55 -0500
commitdc2adb04132daf673a6abaae3c3b7cc0fa570374 (patch)
tree75ff9049119fecce08cd82f6aa2f6332a3bbfed2 /src/tree.c
parent93cb6a1c9ea51335118f9342a93a5c23d7f2f8c9 (diff)
downloadcolm-dc2adb04132daf673a6abaae3c3b7cc0fa570374.tar.gz
an automated include convention improvement from Peter Reijnders
Diffstat (limited to 'src/tree.c')
-rw-r--r--src/tree.c17
1 files changed, 5 insertions, 12 deletions
diff --git a/src/tree.c b/src/tree.c
index 2f81e104..baf97921 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -18,24 +18,17 @@
* along with Colm; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-
-#include <colm/pdarun.h>
-#include <colm/tree.h>
-#include <colm/pool.h>
-#include <colm/bytecode.h>
-#include <colm/debug.h>
-#include <colm/map.h>
-#include <colm/struct.h>
-
#include <string.h>
#include <stdlib.h>
+#include <stdbool.h>
#include <stdio.h>
#include <unistd.h>
#include <assert.h>
-#include <errno.h>
-#define true 1
-#define false 0
+#include <colm/tree.h>
+#include <colm/pool.h>
+#include <colm/bytecode.h>
+#include <colm/debug.h>
#define BUFFER_INITIAL_SIZE 4096