X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ffilevercmp.c;h=f6ed2481f6edf9019a62e18f7a131362d71e6491;hb=d0fe9209ffab797cb556047e7c272341d5df2f3e;hp=b2f309b3a9b857f92067406b8e81b64fe874ed61;hpb=349d7fe0e307d59d508b3579317ee8d4eacfeb9c;p=gnulib.git diff --git a/lib/filevercmp.c b/lib/filevercmp.c index b2f309b3a..f6ed2481f 100644 --- a/lib/filevercmp.c +++ b/lib/filevercmp.c @@ -26,14 +26,6 @@ #include #include -/* 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 - /* Match a file suffix defined by this regular expression: /(\.[A-Za-z~][A-Za-z0-9~]*)*$/ Scan the string *STR and return a pointer to the matching suffix, or @@ -88,7 +80,7 @@ order (unsigned char c) section on the `Version' control field. This version of the code implements that from s5.6.12 of Debian Policy v3.8.0.1 http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version */ -static int _GL_ATTRIBUTE_PURE +static int verrevcmp (const char *s1, size_t s1_len, const char *s2, size_t s2_len) { size_t s1_pos = 0;