Permalink
Browse files

Make yajl_init static

Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  • Loading branch information...
1 parent 71f72fe commit 16f7b1f49eec0d485288e4f40a2f4ae8a2331cc6 @yanhan committed Jun 15, 2011
Showing with 1 addition and 3 deletions.
  1. +1 −1 json.c
  2. +0 −2 json.h
View
2 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;
View
2 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);

0 comments on commit 16f7b1f

Please sign in to comment.