summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-09-14 03:36:38 +0000
committerJim Meyering <jim@meyering.net>1997-09-14 03:36:38 +0000
commit849a724b76cf50439e64835ec006f4080fa3da97 (patch)
tree6561a0813bfc0e52d331136eb6925c0122cf697d
parent12c9be75c310372fd5a5eefc3e9b34c250ef766c (diff)
downloadcoreutils-849a724b76cf50439e64835ec006f4080fa3da97.tar.xz
(PARAMS): Define.
Guard prototype with PARAMS.
-rw-r--r--lib/strverscmp.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/strverscmp.h b/lib/strverscmp.h
index 227668837..02af6cb6f 100644
--- a/lib/strverscmp.h
+++ b/lib/strverscmp.h
@@ -7,6 +7,14 @@
# include <config.h>
# endif
-int strverscmp (const char*, const char*);
+# ifndef PARAMS
+# if defined (__GNUC__) || __STDC__
+# define PARAMS(args) args
+# else
+# define PARAMS(args) ()
+# endif
+# endif
+
+int strverscmp PARAMS ((const char*, const char*));
#endif /* not STRVERSCMP_H_ */