X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Ffnmatch_.h;h=87e661f725b49d6524579bc1e27e8d7cf03a2a50;hb=265465e1145409720be48d30b6277a59151d293a;hp=5d83ac984baee089883a98005a7d507821aa2e62;hpb=2fe95c09b307df948a34b579a4ebaf2873c91cef;p=gnulib.git diff --git a/lib/fnmatch_.h b/lib/fnmatch_.h index 5d83ac984..87e661f72 100644 --- a/lib/fnmatch_.h +++ b/lib/fnmatch_.h @@ -22,19 +22,6 @@ extern "C" { # endif -# if defined __cplusplus || (defined __STDC__ && __STDC__) || defined WINDOWS32 -# if !defined __GLIBC__ || !defined __P -# undef __P -# define __P(protos) protos -# endif -# else /* Not C++ or ANSI C. */ -# undef __P -# define __P(protos) () -/* 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. */ - /* We #undef these before defining them because some losing systems (HP-UX A.08.07 for example) define these in . */ # undef FNM_PATHNAME @@ -66,8 +53,8 @@ extern "C" { /* Match NAME against the filename pattern PATTERN, returning zero if it matches, FNM_NOMATCH if not. */ -extern int fnmatch __P ((const char *__pattern, const char *__name, - int __flags)); +extern int fnmatch (const char *__pattern, const char *__name, + int __flags); # ifdef __cplusplus }