From 849a724b76cf50439e64835ec006f4080fa3da97 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 14 Sep 1997 03:36:38 +0000 Subject: (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 227668837..02af6cb6f 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_ */ -- cgit v1.2.3-54-g00ecf