Mercurial > hg > octave-nkf > gnulib-hg
diff lib/hash.h @ 1170:8de2d981b46f
Use PARAMS, not __P.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sun, 21 Dec 1997 11:22:51 +0000 |
parents | c58834e11c55 |
children | 20f35a1b786a |
line wrap: on
line diff
--- a/lib/hash.h +++ b/lib/hash.h @@ -5,14 +5,6 @@ # include <config.h> # endif -# ifndef PARAMS -# if defined (__GNUC__) || __STDC__ -# define PARAMS(args) args -# else -# define PARAMS(args) () -# endif -# endif - # include <stdio.h> # include <assert.h> @@ -28,6 +20,14 @@ char *malloc (); # endif +# ifndef PARAMS +# if defined PROTOTYPES || (defined __STDC__ && __STDC__) +# define PARAMS(Args) Args +# else +# define PARAMS(Args) () +# endif +# endif + # define USE_OBSTACK # ifdef USE_OBSTACK # include "obstack.h"