summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcnary/Makefile.am3
-rw-r--r--libcnary/include/node.h1
-rw-r--r--libcnary/include/object.h41
-rw-r--r--src/plist.h8
4 files changed, 9 insertions, 44 deletions
diff --git a/libcnary/Makefile.am b/libcnary/Makefile.am
index f5c7bc9..2d6a704 100644
--- a/libcnary/Makefile.am
+++ b/libcnary/Makefile.am
@@ -11,5 +11,4 @@ libcnary_la_SOURCES = \
node.c \
node_list.c \
include/node.h \
- include/node_list.h \
- include/object.h
+ include/node_list.h
diff --git a/libcnary/include/node.h b/libcnary/include/node.h
index 5b3ae37..2e72566 100644
--- a/libcnary/include/node.h
+++ b/libcnary/include/node.h
@@ -25,7 +25,6 @@
#define NODE_H_
#include "node_list.h"
-#include "object.h"
#define NODE_TYPE 1;
diff --git a/libcnary/include/object.h b/libcnary/include/object.h
deleted file mode 100644
index b0a8cd8..0000000
--- a/libcnary/include/object.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * object.h
- *
- * Created on: Mar 8, 2011
- * Author: posixninja
- *
- * Copyright (c) 2011 Joshua Hill. All Rights Reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef OBJECT_H_
-#define OBJECT_H_
-
-#ifndef TRUE
-#define TRUE 1
-#endif
-
-#ifndef FALSE
-#define FALSE 0
-#endif
-
-typedef struct object_t {
- void* value;
- unsigned int type;
- unsigned int size;
-} object_t;
-
-#endif /* OBJECT_H_ */
diff --git a/src/plist.h b/src/plist.h
index 5b50192..d45ce2c 100644
--- a/src/plist.h
+++ b/src/plist.h
@@ -29,6 +29,14 @@
#include <sys/types.h>
#include <sys/stat.h>
+#ifndef TRUE
+#define TRUE 1
+#endif
+
+#ifndef FALSE
+#define FALSE 0
+#endif
+
#ifdef _MSC_VER
#pragma warning(disable:4996)
#pragma warning(disable:4244)