summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-10-17 08:45:07 +0000
committerJim Meyering <jim@meyering.net>2000-10-17 08:45:07 +0000
commit0be2660d9651898b4ca0cca1e582d51a1611f659 (patch)
tree401d51f07d5d396c2b584a2eec31a1e776d7abdc
parenta8bf54480351e18dc6b40785a89acbf9bc14c3ea (diff)
downloadcoreutils-0be2660d9651898b4ca0cca1e582d51a1611f659.tar.xz
[PARAMS]: Define and use.
-rw-r--r--lib/quote.h12
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));