From 17c29c54b8b350524e3844f98330d73c4e7e8397 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 17 Oct 2000 08:45:07 +0000 Subject: [PARAMS]: Define and use. --- lib/quote.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'lib/quote.h') 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)); -- cgit v1.2.1