X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Flists.c;h=363c62dbeae305cf460b3203bcf846afc2804037;hb=1fe17e246cba4ee2f4349196c544296790ab5d55;hp=6a70d088db5fcb40c05c57597c02ad41299a76bb;hpb=c93d089736bdcfac111199573d249e21b9d71186;p=ngircd-alex.git diff --git a/src/ngircd/lists.c b/src/ngircd/lists.c index 6a70d088..363c62db 100644 --- a/src/ngircd/lists.c +++ b/src/ngircd/lists.c @@ -14,14 +14,11 @@ #include "portab.h" -static char UNUSED id[] = "$Id: lists.c,v 1.21 2007/01/29 21:13:26 fw Exp $"; - #include "imp.h" #include #include "defines.h" #include "conn.h" -#include "client.h" #include "channel.h" #include "log.h" #include "match.h" @@ -162,8 +159,8 @@ Lists_CheckDupeMask(const struct list_head *h, const char *Mask ) } -GLOBAL char * -Lists_MakeMask( char *Pattern ) +GLOBAL const char * +Lists_MakeMask(const char *Pattern) { /* This function generats a valid IRC mask of "any" string. This * mask is only valid until the next call to Lists_MakeMask(),