projects
/
ptask.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup
[ptask.git]
/
src
/
tw.c
diff --git
a/src/tw.c
b/src/tw.c
index
c03d026
..
33fbc94
100644
(file)
--- a/
src/tw.c
+++ b/
src/tw.c
@@
-21,9
+21,12
@@
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
#include <string.h>
+#include <json/json.h>
+
#include "note.h"
#include "note.h"
+#include "tw.h"
-char *task_exec(char *opts)
+
static
char *task_exec(char *opts)
{
FILE *f;
int ret;
{
FILE *f;
int ret;
@@
-67,10
+70,6
@@
char *task_exec(char *opts)
return str;
}
return str;
}
-#include <json/json.h>
-
-#include "tw.h"
-
static struct json_object *task_exec_json(char *opts)
{
struct json_object *o;
static struct json_object *task_exec_json(char *opts)
{
struct json_object *o;