X-Git-Url: https://wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Ftw.c;h=33fbc946fda44232179e6345f02e964f94304209;hb=739994b70d2715ae5961f5c42896d655a733595e;hp=c03d0260e55591e5cbc042e3e05734c14d5352e4;hpb=3ca67064395d44e54e83e80dbb8fe764cef89b98;p=ptask.git diff --git a/src/tw.c b/src/tw.c index c03d026..33fbc94 100644 --- a/src/tw.c +++ b/src/tw.c @@ -21,9 +21,12 @@ #include #include +#include + #include "note.h" +#include "tw.h" -char *task_exec(char *opts) +static char *task_exec(char *opts) { FILE *f; int ret; @@ -67,10 +70,6 @@ char *task_exec(char *opts) return str; } -#include - -#include "tw.h" - static struct json_object *task_exec_json(char *opts) { struct json_object *o;