summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-02-21 10:38:54 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-02-21 10:38:54 +0900
commit71c23d6a84929ecf1a82a3e79f352a9e7e33929c (patch)
tree77e00791f3bfd899f0fda32c90e35b1bc98366b0
parenta3a62f5b63dd4d8a1f06ede0daeac790ad475b2b (diff)
downloadkvirc-71c23d6a84929ecf1a82a3e79f352a9e7e33929c.tar.gz
kvirc-71c23d6a84929ecf1a82a3e79f352a9e7e33929c.zip
Remove remaining 'register' instructions.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--src/kvilib/core/kvi_string.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kvilib/core/kvi_string.h b/src/kvilib/core/kvi_string.h
index 9434e274..b1d7a2e0 100644
--- a/src/kvilib/core/kvi_string.h
+++ b/src/kvilib/core/kvi_string.h
@@ -462,7 +462,7 @@ public:
//=============================================================================
// FIXME: Should it be KviStrExt::contains namespace ?
- static bool ext_contains(register const char * data,const char * item,bool caseS = true);
+ static bool ext_contains(const char * data,const char * item,bool caseS = true);
};
// FIXME: the functions below should end in the KviStr namespace ???
@@ -493,19 +493,19 @@ __KVI_EXTERN KVILIB_API int kvi_irc_vsnprintf(char *buffer,const char *fmt,kvi_v
// WILDCARD EXPRESSION MATCHING FUNCTIONS
// Returns true if the two regular expressions with wildcards matches
-__KVI_EXTERN KVILIB_API bool kvi_matchWildExpr(register const char *m1,register const char *m2);
+__KVI_EXTERN KVILIB_API bool kvi_matchWildExpr(const char *m1,const char *m2);
// Returns true if the two regular expressions with wildcards matches, case sensitive
-//__KVI_EXTERN bool kvi_matchWildExprCS(register const char *m1,register const char *m2); // actually unused
+//__KVI_EXTERN bool kvi_matchWildExprCS(const char *m1,const char *m2); // actually unused
// Same as kvi_matchWildExpr but with an additional char that acts as string terminator
// If there is a match this function returns true and puts the pointers where it stopped in r1 and r2
-__KVI_EXTERN KVILIB_API bool kvi_matchWildExprWithTerminator(register const char *m1,register const char *m2,char terminator,
+__KVI_EXTERN KVILIB_API bool kvi_matchWildExprWithTerminator(const char *m1,const char *m2,char terminator,
const char ** r1,const char ** r2);
// Returns true if the wildcard expression exp matches the string str
-__KVI_EXTERN KVILIB_API bool kvi_matchStringCI(register const char * exp,register const char * str);
+__KVI_EXTERN KVILIB_API bool kvi_matchStringCI(const char * exp,const char * str);
#define kvi_matchString kvi_matchStringCI
-__KVI_EXTERN KVILIB_API bool kvi_matchStringCS(register const char * exp,register const char * str);
-__KVI_EXTERN KVILIB_API bool kvi_matchStringWithTerminator(register const char * exp,register const char * str,char terminator,const char ** r1,const char ** r2);
+__KVI_EXTERN KVILIB_API bool kvi_matchStringCS(const char * exp,const char * str);
+__KVI_EXTERN KVILIB_API bool kvi_matchStringWithTerminator(const char * exp,const char * str,char terminator,const char ** r1,const char ** r2);
// This function works like a particular case of strncmp.
// It evaluates if str2 is the terminal part of str1.