X-Git-Url: https://git.wpitchoune.net/gitweb/?p=ptask.git;a=blobdiff_plain;f=src%2Fnote.c;h=77f98cfa48b9debec6e8fb74cec0b4a4c2f19297;hp=f5e3a91d2b3bc81ef8f715fa1e66f5d0dc4bc273;hb=2cf9ca6ed6eca3a02209f58ab86d663d7cfbf710;hpb=464cae462442ca890698a0d54e7fb927becd4347 diff --git a/src/note.c b/src/note.c index f5e3a91..77f98cf 100644 --- a/src/note.c +++ b/src/note.c @@ -26,7 +26,7 @@ #include #include -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;