X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fc-strncasecmp.c;h=0085185ab2543f6a414b56b33879d6bc0fe37691;hb=b65bfcd7ba0be84de3d96f22103103f21679a721;hp=280f09b5ab4d443b5e7e19a8e3ba45be489abd3d;hpb=349d7fe0e307d59d508b3579317ee8d4eacfeb9c;p=gnulib.git diff --git a/lib/c-strncasecmp.c b/lib/c-strncasecmp.c index 280f09b5a..0085185ab 100644 --- a/lib/c-strncasecmp.c +++ b/lib/c-strncasecmp.c @@ -24,15 +24,7 @@ #include "c-ctype.h" -/* The attribute __pure__ was added in gcc 2.96. */ -#undef _GL_ATTRIBUTE_PURE -#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) -# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) -#else -# define _GL_ATTRIBUTE_PURE /* empty */ -#endif - -int _GL_ATTRIBUTE_PURE +int c_strncasecmp (const char *s1, const char *s2, size_t n) { register const unsigned char *p1 = (const unsigned char *) s1;