From f644468eed8b72c37a3d968efe5279c84778b3e5 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 14 Sep 1997 03:36:38 +0000 Subject: [PATCH] (PARAMS): Define. Guard prototype with PARAMS. --- lib/strverscmp.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/strverscmp.h b/lib/strverscmp.h index 227668837d..02af6cb6fc 100644 --- a/lib/strverscmp.h +++ b/lib/strverscmp.h @@ -7,6 +7,14 @@ # include # 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_ */ -- 2.30.2