projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92d64a2
)
[PARAMS]: Define and use.
author
Jim Meyering
<jim@meyering.net>
Tue, 17 Oct 2000 08:45:07 +0000
(08:45 +0000)
committer
Jim Meyering
<jim@meyering.net>
Tue, 17 Oct 2000 08:45:07 +0000
(08:45 +0000)
lib/quote.h
patch
|
blob
|
history
diff --git
a/lib/quote.h
b/lib/quote.h
index 96549b76ba5be2dc525c4ebe791b364d946b9468..5de896bdec4e048929e40ba445664b8f55d9a1f1 100644
(file)
--- 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));