summaryrefslogtreecommitdiff
path: root/lib/quote.h
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
commit17c29c54b8b350524e3844f98330d73c4e7e8397 (patch)
treebe78e326920fd45954e8f1323d8fe54585cae2c9 /lib/quote.h
parent92d64a235cc24b6f37f6ff4c69196f1bf99b032f (diff)
downloadgnulib-17c29c54b8b350524e3844f98330d73c4e7e8397.tar.gz
[PARAMS]: Define and use.
Diffstat (limited to 'lib/quote.h')
-rw-r--r--lib/quote.h12
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));