diff --git a/json.c b/json.c index b03b53d..d750b2b 100644 --- a/json.c +++ b/json.c @@ -12,7 +12,7 @@ #include "query.h" #include "util.h" -yajl_handle yajl_init(void) +static yajl_handle yajl_init(void) { /* Reset the json_ctx */ pwhandle->json_ctx->pkglist = NULL; diff --git a/json.h b/json.h index f9423f9..a82685e 100644 --- a/json.h +++ b/json.h @@ -21,8 +21,6 @@ struct json_ctx_t { int jsondepth; }; -yajl_handle yajl_init(void); - /* Query functions */ alpm_list_t *query_aur(CURL *curl, const char *pkgname, enum aurquery_t type);