diff options
author | wollman <wollman@FreeBSD.org> | 1994-08-04 20:57:07 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-08-04 20:57:07 +0000 |
commit | a7daa1ed08a69dce4526d89b31a0eaafdcee36e2 (patch) | |
tree | f3e8aad5a1ce3e4cc58a2bcb1a0edf8e5243676b /gnu | |
parent | f53b3edeed8d6933c67419635b550bc0994f32ea (diff) | |
download | FreeBSD-src-a7daa1ed08a69dce4526d89b31a0eaafdcee36e2.zip FreeBSD-src-a7daa1ed08a69dce4526d89b31a0eaafdcee36e2.tar.gz |
Use __GNU_P not __P.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/cpio/fnmatch.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/cpio/fnmatch.h b/gnu/usr.bin/cpio/fnmatch.h index 5c94813..1157bf0 100644 --- a/gnu/usr.bin/cpio/fnmatch.h +++ b/gnu/usr.bin/cpio/fnmatch.h @@ -24,11 +24,11 @@ extern "C" { #endif #if defined (__cplusplus) || (defined (__STDC__) && __STDC__) -#undef __P -#define __P(args) args +#undef __GNU_P +#define __GNU_P(args) args #else /* Not C++ or ANSI C. */ -#undef __P -#define __P(args) () +#undef __GNU_P +#define __GNU_P(args) () /* 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. */ @@ -50,7 +50,7 @@ extern "C" { /* Match STRING against the filename pattern PATTERN, returning zero if it matches, FNM_NOMATCH if not. */ -extern int fnmatch __P ((const char *__pattern, const char *__string, +extern int fnmatch __GNU_P ((const char *__pattern, const char *__string, int __flags)); #ifdef __cplusplus |