Remove remaining 'register' instructions.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 71c23d6a84)
r14.0.x
Michele Calgaro 5 years ago
parent c37a71d4ea
commit 26de7286b8
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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.

Loading…
Cancel
Save