changeset 2888:99d12dd76be2

[PARAMS]: Define and use.
author Jim Meyering <jim@meyering.net>
date Tue, 17 Oct 2000 08:45:07 +0000
parents 30949ab3be6d
children 6640dd026b23
files lib/quote.h
diffstat 1 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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));