Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Commit

Permalink
Make yajl_init static
Browse files Browse the repository at this point in the history
Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  • Loading branch information
yanhan committed Jun 28, 2011
1 parent 71f72fe commit 16f7b1f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion json.c
Expand Up @@ -12,7 +12,7 @@
#include "query.h" #include "query.h"
#include "util.h" #include "util.h"


yajl_handle yajl_init(void) static yajl_handle yajl_init(void)
{ {
/* Reset the json_ctx */ /* Reset the json_ctx */
pwhandle->json_ctx->pkglist = NULL; pwhandle->json_ctx->pkglist = NULL;
Expand Down
2 changes: 0 additions & 2 deletions json.h
Expand Up @@ -21,8 +21,6 @@ struct json_ctx_t {
int jsondepth; int jsondepth;
}; };


yajl_handle yajl_init(void);

/* Query functions */ /* Query functions */
alpm_list_t *query_aur(CURL *curl, const char *pkgname, enum aurquery_t type); alpm_list_t *query_aur(CURL *curl, const char *pkgname, enum aurquery_t type);


Expand Down

0 comments on commit 16f7b1f

Please sign in to comment.