diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-08-31 10:44:35 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-08-31 10:44:35 +0300 |
commit | 7e841570fc4950724fb1be93512632b3fee73abd (patch) | |
tree | 4836ef9811ec0f196cdb04aaa7a4d9ebb53aa4c9 /rpmio | |
parent | 8e9662bd4cedd1fc9e31ae18bc420bc2b24c7be1 (diff) | |
download | rpm-7e841570fc4950724fb1be93512632b3fee73abd.tar.gz rpm-7e841570fc4950724fb1be93512632b3fee73abd.tar.bz2 rpm-7e841570fc4950724fb1be93512632b3fee73abd.zip |
Hum, rename rstrneq() to rstreqn() to avoid confusing neq with "not equal"
Diffstat (limited to 'rpmio')
-rw-r--r-- | rpmio/rpmstring.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |