summaryrefslogtreecommitdiff
path: root/mi
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 /mi
parent74707c5daf432fe8310312021eb775e7a716dbe3 (diff)
downloadmc-100ed8406343f027aa442e79fe59c653c8fc02a4.tar.gz
Extract util functions into separate dir from parse/
Diffstat (limited to 'mi')
-rw-r--r--mi/Makefile2
-rw-r--r--mi/cfg.c1
-rw-r--r--mi/dfcheck.c1
-rw-r--r--mi/flatten.c1
-rw-r--r--mi/match.c1
-rw-r--r--mi/reaching.c1
6 files changed, 6 insertions, 1 deletions
diff --git a/mi/Makefile b/mi/Makefile
index 2942d83..985064a 100644
--- a/mi/Makefile
+++ b/mi/Makefile
@@ -7,6 +7,6 @@ OBJ=\
reaching.o \
-DEPS=../parse/libparse.a
+DEPS=../parse/libparse.a ../util/libutil.a
include ../mk/c.mk
diff --git a/mi/cfg.c b/mi/cfg.c
index a269997..2009960 100644
--- a/mi/cfg.c
+++ b/mi/cfg.c
@@ -10,6 +10,7 @@
#include <fcntl.h>
#include <unistd.h>
+#include "util.h"
#include "parse.h"
#include "mi.h"
diff --git a/mi/dfcheck.c b/mi/dfcheck.c
index a785fc3..5aeb174 100644
--- a/mi/dfcheck.c
+++ b/mi/dfcheck.c
@@ -10,6 +10,7 @@
#include <fcntl.h>
#include <unistd.h>
+#include "util.h"
#include "parse.h"
#include "mi.h"
diff --git a/mi/flatten.c b/mi/flatten.c
index c1a7aa2..cc0a6a8 100644
--- a/mi/flatten.c
+++ b/mi/flatten.c
@@ -10,6 +10,7 @@
#include <fcntl.h>
#include <unistd.h>
+#include "util.h"
#include "parse.h"
#include "mi.h"
#include "../config.h"
diff --git a/mi/match.c b/mi/match.c
index 95e09f7..beecdbb 100644
--- a/mi/match.c
+++ b/mi/match.c
@@ -9,6 +9,7 @@
#include <fcntl.h>
#include <unistd.h>
+#include "util.h"
#include "parse.h"
#include "mi.h"
diff --git a/mi/reaching.c b/mi/reaching.c
index aaaaedc..8442b19 100644
--- a/mi/reaching.c
+++ b/mi/reaching.c
@@ -10,6 +10,7 @@
#include <fcntl.h>
#include <unistd.h>
+#include "util.h"
#include "parse.h"
#include "mi.h"