Split BlueSky include files into public and private parts.
[bluesky.git] / bluesky / store.c
index abe7020..50b47b0 100644 (file)
@@ -10,7 +10,7 @@
 #include <glib.h>
 #include <string.h>
 
-#include "bluesky.h"
+#include "bluesky-private.h"
 
 /* Interaction with cloud storage.  We expose very simple GET/PUT style
  * interface, which different backends can implement.  Available backends
@@ -178,7 +178,7 @@ static BlueSkyRCStr *filestore_get(gpointer s, const gchar *key)
 {
     gchar *contents = NULL;
     gsize length;
-    GError *error;
+    GError *error = NULL;
 
     g_file_get_contents(key, &contents, &length, &error);
     if (contents == NULL)