From 727298f3f5174a6bf60e3d261cf37a6176584a07 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 21 Dec 1997 11:22:51 +0000 Subject: Use PARAMS, not __P. --- lib/path-concat.h | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'lib/path-concat.h') diff --git a/lib/path-concat.h b/lib/path-concat.h index 92c0a1180..8e2c22883 100644 --- a/lib/path-concat.h +++ b/lib/path-concat.h @@ -1,9 +1,15 @@ -#if __STDC__ -# undef __P -# define __P(args) args -#else -# define __P(args) () -#endif +#if ! defined PATH_CONCAT_H_ +# define PATH_CONCAT_H_ + +# ifndef PARAMS +# if defined PROTOTYPES || (defined __STDC__ && __STDC__) +# define PARAMS(Args) Args +# else +# define PARAMS(Args) () +# endif +# endif char * -path_concat __P ((const char *dir, const char *base, char **base_in_result)); +path_concat PARAMS ((const char *dir, const char *base, char **base_in_result)); + +#endif -- cgit v1.2.3-54-g00ecf