From 727298f3f5174a6bf60e3d261cf37a6176584a07 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 21 Dec 1997 11:22:51 +0000 Subject: Use PARAMS, not __P. --- lib/xalloc.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'lib/xalloc.h') diff --git a/lib/xalloc.h b/lib/xalloc.h index a66226dd3..3f8d77925 100644 --- a/lib/xalloc.h +++ b/lib/xalloc.h @@ -1,8 +1,9 @@ -#undef PARAMS -#if defined (__STDC__) && __STDC__ -# define PARAMS(Args) Args -#else -# define PARAMS(Args) () +#ifndef PARAMS +# if defined PROTOTYPES || (defined __STDC__ && __STDC__) +# define PARAMS(Args) Args +# else +# define PARAMS(Args) () +# endif #endif /* Exit value when the requested amount of memory is not available. -- cgit v1.2.3-54-g00ecf