From ebb5967a19ee6abdd70a965ff8ca127df47f136f Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 13 Nov 2012 20:28:53 +0000 Subject: - changed match() polarity. match() now returns 0 on match and 1 on non-match This cleans up several places where function pointers of different matching functions like irccmp/strcmp/match are passed to other functions. - added improved collapse() to match.c git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1652 82007160-df01-0410-b94d-b575c5fd34c7 --- include/irc_string.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/irc_string.h') diff --git a/include/irc_string.h b/include/irc_string.h index 13a57c9..dee67df 100644 --- a/include/irc_string.h +++ b/include/irc_string.h @@ -47,11 +47,8 @@ extern int match_chan(const char *, const char *); * collapse - collapse a string in place, converts multiple adjacent *'s * into a single *. * collapse - modifies the contents of pattern - * - * collapse_esc() - collapse with support for escaping chars */ extern char *collapse(char *); -extern char *collapse_esc(char *); /* * NOTE: The following functions are NOT the same as strcasecmp -- cgit