normalize #include
[ppastats.git] / src / fcache.c
index acc2e7a..35e4512 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2011-2012 jeanfi@gmail.com
+ * Copyright (C) 2011-2014 jeanfi@gmail.com
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License as
@@ -25,9 +25,9 @@
 #include <stdlib.h>
 #include <string.h>
 
-#include "fcache.h"
-#include "io.h"
-#include "log.h"
+#include <fcache.h>
+#include <plog.h>
+#include <pio.h>
 
 static const char *cache_dir;
 
@@ -94,7 +94,7 @@ char *fcache_get(const char *key)
        return content;
 }
 
-void fcache_put(const char *key, char *value)
+void fcache_put(const char *key, const char *value)
 {
        char *path, *dir, *tmp;
        FILE *f;