changeset 1022:4ca6ffcc15bf

(PARAMS): Define. Guard prototype with PARAMS.
author Jim Meyering <jim@meyering.net>
date Sun, 14 Sep 1997 03:36:38 +0000
parents f5ab90da2507
children 9b67400aa25c
files lib/strverscmp.h
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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_ */