projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb9649d
)
rstrcasecmp() and rstrncasecmp() are "pure" functions
author
Panu Matilainen
<pmatilai@redhat.com>
Thu, 9 Oct 2008 13:17:53 +0000
(16:17 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Thu, 9 Oct 2008 13:17:53 +0000
(16:17 +0300)
rpmio/rpmstring.h
patch
|
blob
|
history
diff --git
a/rpmio/rpmstring.h
b/rpmio/rpmstring.h
index
f9d00aa
..
de880fc
100644
(file)
--- a/
rpmio/rpmstring.h
+++ b/
rpmio/rpmstring.h
@@
-106,11
+106,13
@@
static inline unsigned char rnibble(char c)
/** \ingroup rpmstring
* Locale insensitive strcasecmp(3).
*/
+RPM_GNUC_PURE
int rstrcasecmp(const char * s1, const char * s2) ;
/** \ingroup rpmstring
* Locale insensitive strncasecmp(3).
*/
+RPM_GNUC_PURE
int rstrncasecmp(const char *s1, const char * s2, size_t n) ;
/** \ingroup rpmstring