From: Panu Matilainen Date: Mon, 31 Aug 2009 07:44:35 +0000 (+0300) Subject: Hum, rename rstrneq() to rstreqn() to avoid confusing neq with "not equal" X-Git-Tag: tznext/4.11.0.1.tizen20130304~2860 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7e841570fc4950724fb1be93512632b3fee73abd;p=tools%2Flibrpm-tizen.git Hum, rename rstrneq() to rstreqn() to avoid confusing neq with "not equal" --- diff --git a/rpmio/rpmstring.h b/rpmio/rpmstring.h index 607d1b6..e0aa511 100644 --- a/rpmio/rpmstring.h +++ b/rpmio/rpmstring.h @@ -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); }