diff options
author | Andy Wingo <wingo@pobox.com> | 2011-12-19 18:00:28 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-12-19 18:00:28 +0100 |
commit | 296004b3ba34139292eb1d8bf54739ee1a082712 (patch) | |
tree | 149e2c87f169583ade59bbb876530fc03af9b2ea /lib/c-strcase.h | |
parent | bfe35b90ff0c7f78335e70bdb26ea3466f6e98d9 (diff) | |
parent | 52b680f85e84689778f10ed8f9e72adf8316fbe7 (diff) | |
download | guile-296004b3ba34139292eb1d8bf54739ee1a082712.tar.gz |
Merge remote-tracking branch 'origin/stable-2.0'
Conflicts:
libguile/feature.c
m4/gnulib-cache.m4
module/ice-9/deprecated.scm
module/language/tree-il/peval.scm
Diffstat (limited to 'lib/c-strcase.h')
-rw-r--r-- | lib/c-strcase.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/c-strcase.h b/lib/c-strcase.h index 1e3d45a85..5173cb27c 100644 --- a/lib/c-strcase.h +++ b/lib/c-strcase.h @@ -40,12 +40,13 @@ extern "C" { /* Compare strings S1 and S2, ignoring case, returning less than, equal to or greater than zero if S1 is lexicographically less than, equal to or greater than S2. */ -extern int c_strcasecmp (const char *s1, const char *s2); +extern int c_strcasecmp (const char *s1, const char *s2) _GL_ATTRIBUTE_PURE; /* Compare no more than N characters of strings S1 and S2, ignoring case, returning less than, equal to or greater than zero if S1 is lexicographically less than, equal to or greater than S2. */ -extern int c_strncasecmp (const char *s1, const char *s2, size_t n); +extern int c_strncasecmp (const char *s1, const char *s2, size_t n) + _GL_ATTRIBUTE_PURE; #ifdef __cplusplus |