X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fmakepath.h;h=f7c5b602663ccdecd7bd0890608bca766617262a;hb=ef7682a4f97026900379ed9b09c7d27e799b7501;hp=f555d7b4b69137f5bb1eaee5c92de408a35462e8;hpb=66da1bf2662f2fbb6c0725a92f7115255317908a;p=gnulib.git diff --git a/lib/makepath.h b/lib/makepath.h index f555d7b4b..f7c5b6026 100644 --- a/lib/makepath.h +++ b/lib/makepath.h @@ -1,16 +1,16 @@ -#ifndef __P -#if defined (__GNUC__) || (defined (__STDC__) && __STDC__) -#define __P(args) args -#else -#define __P(args) () -#endif /* GCC. */ -#endif /* Not __P. */ +#ifndef PARAMS +# if defined PROTOTYPES || (defined __STDC__ && __STDC__) +# define PARAMS(Args) Args +# else +# define PARAMS(Args) () +# endif +#endif int - make_path __P ((const char *_argpath, - int _mode, - int _parent_mode, - uid_t _owner, - gid_t _group, - int _preserve_existing, - const char *_verbose_fmt_string)); +make_path PARAMS ((const char *_argpath, + int _mode, + int _parent_mode, + uid_t _owner, + gid_t _group, + int _preserve_existing, + const char *_verbose_fmt_string));