summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2010-07-17 12:09:33 +0200
committerJohannes Weiner <hannes@cmpxchg.org>2010-07-17 12:09:33 +0200
commit058152eab7dcb54c11c042189bf200d479411908 (patch)
treeae19ba8e8221ca5ca4724c22fdafa422f3a729c2
parent889225f8d7d8bc5ee5806f3b74ed6318a471deaa (diff)
rename <sheep/object_types.h> to <sheep/types.h>
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
-rw-r--r--include/sheep/gc.h2
-rw-r--r--include/sheep/number.h2
-rw-r--r--include/sheep/object.h2
-rw-r--r--include/sheep/types.h (renamed from include/sheep/object_types.h)8
-rw-r--r--sheep/gc.c2
5 files changed, 8 insertions, 8 deletions
diff --git a/include/sheep/gc.h b/include/sheep/gc.h
index fa9e562..b689a00 100644
--- a/include/sheep/gc.h
+++ b/include/sheep/gc.h
@@ -6,7 +6,7 @@
#ifndef _SHEEP_GC_H
#define _SHEEP_GC_H
-#include <sheep/object_types.h>
+#include <sheep/types.h>
struct sheep_vm;
diff --git a/include/sheep/number.h b/include/sheep/number.h
index e0e1ee0..460d434 100644
--- a/include/sheep/number.h
+++ b/include/sheep/number.h
@@ -6,7 +6,7 @@
#ifndef _SHEEP_NUMBER_H
#define _SHEEP_NUMBER_H
-#include <sheep/object_types.h>
+#include <sheep/types.h>
struct sheep_vm;
diff --git a/include/sheep/object.h b/include/sheep/object.h
index ca945dd..484b104 100644
--- a/include/sheep/object.h
+++ b/include/sheep/object.h
@@ -6,8 +6,8 @@
#ifndef _SHEEP_OBJECT_H
#define _SHEEP_OBJECT_H
-#include <sheep/object_types.h>
#include <sheep/number.h>
+#include <sheep/types.h>
sheep_t sheep_make_object(struct sheep_vm *, const struct sheep_type *, void *);
diff --git a/include/sheep/object_types.h b/include/sheep/types.h
index b9128a1..caa13cf 100644
--- a/include/sheep/object_types.h
+++ b/include/sheep/types.h
@@ -1,10 +1,10 @@
/*
- * include/sheep/object_types.h
+ * include/sheep/types.h
*
* Copyright (c) 2009 Johannes Weiner <hannes@cmpxchg.org>
*/
-#ifndef _SHEEP_OBJECT_TYPES_H
-#define _SHEEP_OBJECT_TYPES_H
+#ifndef _SHEEP_TYPES_H
+#define _SHEEP_TYPES_H
#include <stdlib.h>
@@ -56,4 +56,4 @@ struct sheep_object {
unsigned long data;
};
-#endif /* _SHEEP_OBJECT_TYPES_H */
+#endif /* _SHEEP_TYPES_H */
diff --git a/sheep/gc.c b/sheep/gc.c
index b0765e5..db5c57e 100644
--- a/sheep/gc.c
+++ b/sheep/gc.c
@@ -3,8 +3,8 @@
*
* Copyright (c) 2009 Johannes Weiner <hannes@cmpxchg.org>
*/
-#include <sheep/object_types.h>
#include <sheep/vector.h>
+#include <sheep/types.h>
#include <sheep/util.h>
#include <sheep/vm.h>
#include <sys/mman.h>