summaryrefslogtreecommitdiff
path: root/6
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-02-22 11:17:40 -0800
committerOri Bernstein <ori@eigenstate.org>2016-02-22 11:17:40 -0800
commit100ed8406343f027aa442e79fe59c653c8fc02a4 (patch)
tree7f0a173b62530ce94cd9a036dc6badf0d7ad2f3b /6
parent74707c5daf432fe8310312021eb775e7a716dbe3 (diff)
downloadmc-100ed8406343f027aa442e79fe59c653c8fc02a4.tar.gz
Extract util functions into separate dir from parse/
Diffstat (limited to '6')
-rw-r--r--6/Makefile2
-rw-r--r--6/blob.c1
-rw-r--r--6/gen.c1
-rw-r--r--6/gengas.c1
-rw-r--r--6/genp9.c1
-rw-r--r--6/isel.c1
-rw-r--r--6/locs.c1
-rw-r--r--6/main.c1
-rw-r--r--6/peep.c1
-rw-r--r--6/ra.c1
-rw-r--r--6/simp.c1
-rw-r--r--6/typeinfo.c1
12 files changed, 12 insertions, 1 deletions
diff --git a/6/Makefile b/6/Makefile
index 6055a80..41c8a06 100644
--- a/6/Makefile
+++ b/6/Makefile
@@ -12,7 +12,7 @@ OBJ= \
simp.o \
typeinfo.o \
-DEPS=../parse/libparse.a ../mi/libmi.a
+DEPS=../parse/libparse.a ../mi/libmi.a ../util/libutil.a
include ../config.mk
include ../mk/c.mk
diff --git a/6/blob.c b/6/blob.c
index e7b6754..db06220 100644
--- a/6/blob.c
+++ b/6/blob.c
@@ -10,6 +10,7 @@
#include <fcntl.h>
#include <unistd.h>
+#include "util.h"
#include "parse.h"
#include "mi.h"
#include "asm.h"
diff --git a/6/gen.c b/6/gen.c
index af307b5..25df139 100644
--- a/6/gen.c
+++ b/6/gen.c
@@ -10,6 +10,7 @@
#include <fcntl.h>
#include <unistd.h>
+#include "util.h"
#include "parse.h"
#include "mi.h"
#include "asm.h"
diff --git a/6/gengas.c b/6/gengas.c
index d731b0b..7581e29 100644
--- a/6/gengas.c
+++ b/6/gengas.c
@@ -10,6 +10,7 @@
#include <fcntl.h>
#include <unistd.h>
+#include "util.h"
#include "parse.h"
#include "mi.h"
#include "asm.h"
diff --git a/6/genp9.c b/6/genp9.c
index 68e9d1b..5d9a27e 100644
--- a/6/genp9.c
+++ b/6/genp9.c
@@ -10,6 +10,7 @@
#include <fcntl.h>
#include <unistd.h>
+#include "util.h"
#include "parse.h"
#include "mi.h"
#include "asm.h"
diff --git a/6/isel.c b/6/isel.c
index 4042428..2b04437 100644
--- a/6/isel.c
+++ b/6/isel.c
@@ -11,6 +11,7 @@
#include <fcntl.h>
#include <unistd.h>
+#include "util.h"
#include "parse.h"
#include "mi.h"
#include "asm.h"
diff --git a/6/locs.c b/6/locs.c
index f99953d..8e909e5 100644
--- a/6/locs.c
+++ b/6/locs.c
@@ -10,6 +10,7 @@
#include <fcntl.h>
#include <unistd.h>
+#include "util.h"
#include "parse.h"
#include "mi.h"
#include "asm.h"
diff --git a/6/main.c b/6/main.c
index dbd77aa..c67adf8 100644
--- a/6/main.c
+++ b/6/main.c
@@ -13,6 +13,7 @@
#include <sys/time.h>
#include <sys/wait.h>
+#include "util.h"
#include "parse.h"
#include "mi.h"
#include "asm.h"
diff --git a/6/peep.c b/6/peep.c
index cb31911..e4aeb9c 100644
--- a/6/peep.c
+++ b/6/peep.c
@@ -10,6 +10,7 @@
#include <fcntl.h>
#include <unistd.h>
+#include "util.h"
#include "parse.h"
#include "mi.h"
#include "asm.h"
diff --git a/6/ra.c b/6/ra.c
index a9a8f2a..085f04c 100644
--- a/6/ra.c
+++ b/6/ra.c
@@ -7,6 +7,7 @@
#include <limits.h>
#include <string.h>
+#include "util.h"
#include "parse.h"
#include "mi.h"
#include "asm.h"
diff --git a/6/simp.c b/6/simp.c
index 7871b63..1c0b1d8 100644
--- a/6/simp.c
+++ b/6/simp.c
@@ -10,6 +10,7 @@
#include <fcntl.h>
#include <unistd.h>
+#include "util.h"
#include "parse.h"
#include "mi.h"
#include "asm.h"
diff --git a/6/typeinfo.c b/6/typeinfo.c
index b02a5b2..8073713 100644
--- a/6/typeinfo.c
+++ b/6/typeinfo.c
@@ -10,6 +10,7 @@
#include <fcntl.h>
#include <unistd.h>
+#include "util.h"
#include "parse.h"
#include "mi.h"
#include "asm.h"