From: Jim Meyering Date: Sun, 14 Sep 1997 03:36:38 +0000 (+0000) Subject: (PARAMS): Define. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f644468eed8b72c37a3d968efe5279c84778b3e5;p=pspp (PARAMS): Define. Guard prototype with PARAMS. --- 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_ */