(PARAMS): Define.
authorJim Meyering <jim@meyering.net>
Sun, 14 Sep 1997 03:36:38 +0000 (03:36 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 14 Sep 1997 03:36:38 +0000 (03:36 +0000)
Guard prototype with PARAMS.

lib/strverscmp.h

index 2276688..02af6cb 100644 (file)
@@ -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_ */