/*
- * Copyright (C) 2010-2012 jeanfi@gmail.com
+ * Copyright (C) 2012-2013 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
#include <stdlib.h>
#include <string.h>
+#include <json/json.h>
+
#include "note.h"
+#include "tw.h"
-char *task_exec(char *opts)
+static char *task_exec(char *opts)
{
FILE *f;
int ret;
return str;
}
-#include <json/json.h>
-
-#include "tw.h"
-
static struct json_object *task_exec_json(char *opts)
{
struct json_object *o;