summaryrefslogtreecommitdiffstats
path: root/src/xplist.c
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-01-29 19:20:40 +0100
committerGravatar Jonathan Beck2009-01-29 19:20:40 +0100
commit8c2751f8c7e696fca895aebfafc7e668f3afe85c (patch)
treef01974f6f20b4d2fe53972d67eb4b7d7c588e035 /src/xplist.c
parent23b1e3200833dd79d754e7057ad1a4154f15172e (diff)
downloadlibplist-8c2751f8c7e696fca895aebfafc7e668f3afe85c.tar.gz
libplist-8c2751f8c7e696fca895aebfafc7e668f3afe85c.tar.bz2
Add some static declarations.
Diffstat (limited to 'src/xplist.c')
-rw-r--r--src/xplist.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/xplist.c b/src/xplist.c
index e61797c..f9670f1 100644
--- a/src/xplist.c
+++ b/src/xplist.c
@@ -22,8 +22,6 @@
#include <string.h>
#include <assert.h>
-#include "utils.h"
-#include "plist.h"
#include <stdlib.h>
#include <stdio.h>
@@ -31,6 +29,10 @@
#include <libxml/parser.h>
#include <libxml/tree.h>
+#include <plist/plist.h>
+#include "utils.h"
+#include "plist.h"
+
#define XPLIST_TEXT BAD_CAST("text")
#define XPLIST_KEY BAD_CAST("key")
#define XPLIST_FALSE BAD_CAST("false")
@@ -43,7 +45,7 @@
#define XPLIST_ARRAY BAD_CAST("array")
#define XPLIST_DICT BAD_CAST("dict")
-const char *plist_base = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
+static const char *plist_base = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
<!DOCTYPE plist PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n\
<plist version=\"1.0\">\n\
</plist>\0";