summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-31 12:30:42 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-31 12:30:42 +0000
commit11376014e3b8395c46366c7395b0daeddef8ceda (patch)
treefec4b589282277b7c7a4d85e4125ab43c6e0693d /include
parentcfc2715066ba2228a510bb845691b1422e3338de (diff)
Remove match/wildcmp wrapper which just casts from const char* to char*, do the cast within wildcmp and rename wildcmp to match.
Remove other casts by casting directly to unsigned char* first time around git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4607 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/wildcard.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/wildcard.h b/include/wildcard.h
index 3540f3965..936bd9e23 100644
--- a/include/wildcard.h
+++ b/include/wildcard.h
@@ -14,10 +14,7 @@
* ---------------------------------------------------
*/
-#include <string>
#include "inspircd_config.h"
-void Delete(char* str,int pos);
-void Insert(char* substr,char* str,int pos);
-bool match(const char* literal, const char* mask);
+bool match(const char* str, const char* mask);