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 | 17c29c54b8b350524e3844f98330d73c4e7e8397 (patch) | |
tree | be78e326920fd45954e8f1323d8fe54585cae2c9 /lib/quote.h | |
parent | 92d64a235cc24b6f37f6ff4c69196f1bf99b032f (diff) | |
download | gnulib-17c29c54b8b350524e3844f98330d73c4e7e8397.tar.gz |
[PARAMS]: Define and use.
Diffstat (limited to 'lib/quote.h')
-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 96549b76ba..5de896bdec 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)); |