From 7e841570fc4950724fb1be93512632b3fee73abd Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Mon, 31 Aug 2009 10:44:35 +0300 Subject: Hum, rename rstrneq() to rstreqn() to avoid confusing neq with "not equal" --- rpmio/rpmstring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpmio') diff --git a/rpmio/rpmstring.h b/rpmio/rpmstring.h index 607d1b6fc..e0aa511c2 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); } -- cgit v1.2.3