]> jfr.im git - irc/quakenet/newserv.git/commitdiff
Hide compiler warnings.
authorChris Porter <redacted>
Wed, 30 May 2007 20:00:21 +0000 (21:00 +0100)
committerChris Porter <redacted>
Wed, 30 May 2007 20:00:21 +0000 (21:00 +0100)
newsearch/newsearch.c
newsearch/ns-gline.c
newsearch/ns-kill.c

index bf6f2e4cf5027055283066a5470466dbc634bf65..70dd6ce7442fdbd3d72f57199cad6f5ad4d96903 100644 (file)
@@ -25,7 +25,7 @@ void *falseval(int type);
 const char *parseError;
 /* used for *_free functions that need to warn users of certain things
    i.e. hitting too many users in a (kill) or (gline) */
-const struct nick *senderNSExtern;
+nick *senderNSExtern;
 
 void _init() {
   searchTree=newcommandtree();
index ff7479b1d96b614ad46cad6f6a8e8ca563f68466..787584483c3eb4cee653e5b35d98f97a005643bf 100644 (file)
@@ -13,7 +13,7 @@
 
 /* used for *_free functions that need to warn users of certain things
    i.e. hitting too many users in a (kill) or (gline) - declared in newsearch.c */
-extern const struct nick *senderNSExtern;
+extern nick *senderNSExtern;
 
 void *gline_exe(struct searchNode *thenode, int type, void *theinput);
 void gline_free(struct searchNode *thenode);
index d78afad9676a354257dd77babd48c51fca8398fc..5855e7279970b6dea64c09d0a8d6ce2491f1c67e 100644 (file)
@@ -13,7 +13,7 @@
 
 /* used for *_free functions that need to warn users of certain things
    i.e. hitting too many users in a (kill) or (gline) - declared in newsearch.c */
-extern const struct nick *senderNSExtern;
+extern nick *senderNSExtern;
 
 void *kill_exe(struct searchNode *thenode, int type, void *theinput);
 void kill_free(struct searchNode *thenode);