]> jfr.im git - irc/quakenet/newserv.git/commitdiff
Clean up trustspew a bit.
authorGunnar Beutner <redacted>
Tue, 18 Jun 2013 10:33:40 +0000 (12:33 +0200)
committerGunnar Beutner <redacted>
Tue, 18 Jun 2013 10:33:40 +0000 (12:33 +0200)
--HG--
branch : shroudtrusts

trusts/newsearch/trusts_newsearch.c
trusts/newsearch/trusts_newsearch.h [new file with mode: 0644]
trusts/trusts_commands.c

index 9a89e34a2d0ae6e9e60a2026123c5d092a5708c3..19a6154db2a92b675809d48a1f0fd7caa5f3e186 100644 (file)
@@ -1,6 +1,7 @@
 #include "../../newsearch/newsearch.h"
 #include "../../core/hooks.h"
 #include "../trusts.h"
+#include "trusts_newsearch.h"
 
 struct searchNode *tgroup_parse(searchCtx *, int argc, char **argv);
 struct searchNode *thastrust_parse(searchCtx *, int argc, char **argv);
diff --git a/trusts/newsearch/trusts_newsearch.h b/trusts/newsearch/trusts_newsearch.h
new file mode 100644 (file)
index 0000000..879f789
--- /dev/null
@@ -0,0 +1,4 @@
+
+struct searchNode *tgroup_parse(searchCtx *, int argc, char **argv);
+struct searchNode *thastrust_parse(searchCtx *, int argc, char **argv);
+
index f3a3188ba358858af4c64c733eea4b5e6191b609..fa51c17e53b2c16c5e0d736545e5c3e7c3cfda79 100644 (file)
@@ -7,11 +7,11 @@
 #include "../irc/irc.h"
 #include "../newsearch/newsearch.h"
 #include "trusts.h"
+#include "newsearch/trusts_newsearch.h"
 
 static void registercommands(int, void *);
 static void deregistercommands(int, void *);
 
-extern struct searchNode *tgroup_parse(searchCtx *ctx, int argc, char **argv);
 extern void printnick_channels(searchCtx *, nick *, nick *);
 
 void calculatespaces(int spaces, int width, char *str, char **_prebuf, char **_postbuf) {