summaryrefslogtreecommitdiff
path: root/src/struct.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/struct.c
parent93cb6a1c9ea51335118f9342a93a5c23d7f2f8c9 (diff)
downloadcolm-dc2adb04132daf673a6abaae3c3b7cc0fa570374.tar.gz
an automated include convention improvement from Peter Reijnders
Diffstat (limited to 'src/struct.c')
-rw-r--r--src/struct.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/struct.c b/src/struct.c
index cd614afd..802c1ee6 100644
--- a/src/struct.c
+++ b/src/struct.c
@@ -1,14 +1,13 @@
+#include <stdlib.h>
+#include <string.h>
+#include <stdbool.h>
+
#include <colm/program.h>
#include <colm/struct.h>
#include "internal.h"
#include "bytecode.h"
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-#include <stdbool.h>
-
struct colm_tree *colm_get_global( program_t *prg, long pos )
{
return colm_struct_get_field( prg->global, tree_t*, pos );