prepared code to add a way to change the notes directory
[ptask.git] / src / note.c
index f5e3a91..77f98cf 100644 (file)
@@ -26,7 +26,7 @@
 #include <log.h>
 #include <note.h>
 
-static char *get_path(const char *uuid)
+static char *get_default_path(const char *uuid)
 {
        char *home, *dir, *path;
 
@@ -49,6 +49,11 @@ static char *get_path(const char *uuid)
        return path;
 }
 
+static char *get_path(const char *uuid)
+{
+       return get_default_path(uuid);
+}
+
 void note_put(const char *uuid, const char *note)
 {
        char *path;