summaryrefslogtreecommitdiff
path: root/src/program.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/program.c
parent93cb6a1c9ea51335118f9342a93a5c23d7f2f8c9 (diff)
downloadcolm-dc2adb04132daf673a6abaae3c3b7cc0fa570374.tar.gz
an automated include convention improvement from Peter Reijnders
Diffstat (limited to 'src/program.c')
-rw-r--r--src/program.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/program.c b/src/program.c
index f3071866..98114eb0 100644
--- a/src/program.c
+++ b/src/program.c
@@ -18,6 +18,11 @@
* along with Colm; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include <alloca.h>
+#include <sys/mman.h>
+#include <string.h>
+#include <assert.h>
+#include <stdlib.h>
#include <colm/pdarun.h>
#include <colm/tree.h>
@@ -27,12 +32,6 @@
#include <colm/config.h>
#include <colm/struct.h>
-#include <alloca.h>
-#include <sys/mman.h>
-#include <string.h>
-#include <assert.h>
-#include <stdlib.h>
-
#define VM_STACK_SIZE (8192)
static void colm_alloc_global( program_t *prg )