X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ffnmatch.h;h=5c94813f4bc97b4b4be8fc5946aee0863751e671;hb=95ed01883016323b7476f3ee580149ea4b810e0f;hp=2289f6345dad807688b158b2a92be4c38457f4b4;hpb=07fc05974df6ec335447f994e9b1df774ab364c3;p=gnulib.git diff --git a/lib/fnmatch.h b/lib/fnmatch.h index 2289f6345..5c94813f4 100644 --- a/lib/fnmatch.h +++ b/lib/fnmatch.h @@ -29,8 +29,9 @@ extern "C" { #else /* Not C++ or ANSI C. */ #undef __P #define __P(args) () -#undef const -#define const +/* We can get away without defining `const' here only because in this file + it is used only inside the prototype for `fnmatch', which is elided in + non-ANSI C where `const' is problematical. */ #endif /* C++ or ANSI C. */ /* Bits set in the FLAGS argument to `fnmatch'. */