Hum, rename rstrneq() to rstreqn() to avoid confusing neq with "not equal"

This commit is contained in:
Panu Matilainen 2009-08-31 10:44:35 +03:00
parent 8e9662bd4c
commit 7e841570fc
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ static inline int rstreq(const char *s1, const char *s2)
* @param n compare at most n characters
* @return 0 if strings differ, 1 if equal
*/
static inline int rstrneq(const char *s1, const char *s2, size_t n)
static inline int rstreqn(const char *s1, const char *s2, size_t n)
{
return (strncmp(s1, s2, n) == 0);
}