From: Paul Date: Thu, 1 Jan 2009 02:07:31 +0000 (+0000) Subject: tidy warnings X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/commitdiff_plain/b7b7c4850e37c3a8a4d3859cc8f69372dce207e4 tidy warnings --HG-- branch : paul --- diff --git a/patriciasearch/newsearch_ast.c b/patriciasearch/newsearch_ast.c index 16da4fa5..e0a7b517 100644 --- a/patriciasearch/newsearch_ast.c +++ b/patriciasearch/newsearch_ast.c @@ -5,7 +5,7 @@ #include #include "patriciasearch.h" -int ast_nodesearch(searchASTExpr *tree, replyFunc reply, void *sender, wallFunc wall, ChanDisplayFunc display, HeaderFunc header, void *headerarg, int limit) { +int ast_nodesearch(searchASTExpr *tree, replyFunc reply, void *sender, wallFunc wall, NodeDisplayFunc display, HeaderFunc header, void *headerarg, int limit) { searchCtx ctx; searchASTCache cache; searchNode *search; diff --git a/patriciasearch/patriciasearch.h b/patriciasearch/patriciasearch.h index 6436509b..db3b48b7 100644 --- a/patriciasearch/patriciasearch.h +++ b/patriciasearch/patriciasearch.h @@ -11,7 +11,7 @@ void pnodesearch_exe(struct searchNode *search, searchCtx *ctx, patricia_node_t int do_pnodesearch_real(replyFunc reply, wallFunc wall, void *source, int cargc, char **cargv); -int ast_pnodesearch(searchASTExpr *tree, replyFunc reply, void *sender, wallFunc wall, NodeDisplayFunc display, HeaderFunc header, void *headerarg, int limit); +int ast_nodesearch(searchASTExpr *tree, replyFunc reply, void *sender, wallFunc wall, NodeDisplayFunc display, HeaderFunc header, void *headerarg, int limit); void regpnodedisp(const char *name, NodeDisplayFunc handler); void unregpnodedisp(const char *name, NodeDisplayFunc handler);