X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fmakepath.h;h=f7c5b602663ccdecd7bd0890608bca766617262a;hb=fac1a01e39ca1cddd2dd5d5d672136e3d78c766b;hp=2756446c8437f5842070557f55c6546fe67091ab;hpb=4dbac07636dedff35f574a28c9dbcfe16b1cb0d3;p=gnulib.git diff --git a/lib/makepath.h b/lib/makepath.h index 2756446c8..f7c5b6026 100644 --- a/lib/makepath.h +++ b/lib/makepath.h @@ -1,15 +1,16 @@ -#if __STDC__ -#undef __P -#define __P(args) args -#else -#define __P(args) () +#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));