diff options
author | Jim Meyering <jim@meyering.net> | 2000-10-17 08:45:07 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-10-17 08:45:07 +0000 |
commit | 0be2660d9651898b4ca0cca1e582d51a1611f659 (patch) | |
tree | 401d51f07d5d396c2b584a2eec31a1e776d7abdc | |
parent | a8bf54480351e18dc6b40785a89acbf9bc14c3ea (diff) | |
download | coreutils-0be2660d9651898b4ca0cca1e582d51a1611f659.tar.xz |
[PARAMS]: Define and use.
-rw-r--r-- | lib/quote.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/quote.h b/lib/quote.h index 96549b76b..5de896bde 100644 --- a/lib/quote.h +++ b/lib/quote.h @@ -1,4 +1,12 @@ /* prototypes for quote.c */ -char const *quote_n (int n, char const *name); -char const *quote (char const *name); +#ifndef PARAMS +# if defined PROTOTYPES || (defined __STDC__ && __STDC__) +# define PARAMS(Args) Args +# else +# define PARAMS(Args) () +# endif +#endif + +char const *quote_n PARAMS ((int n, char const *name)); +char const *quote PARAMS ((char const *name)); |