From 5c35327df848ac044ffd47cf38c077978d9140d5 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 3 Jan 1998 11:56:58 +0000 Subject: [PATCH] Guard PARAMS-enabling definition with `defined PROTOTYPES || (defined __STDC__ && __STDC__)' to be consistent. --- lib/getdate.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/getdate.h b/lib/getdate.h index db2dba4b7f..7d97c6817d 100644 --- a/lib/getdate.h +++ b/lib/getdate.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1995 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1997 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -18,13 +18,13 @@ # include #endif -# ifndef PARAMS -# if defined (__GNUC__) || __STDC__ -# define PARAMS(args) args -# else -# define PARAMS(args) () -# endif +#ifndef PARAMS +# if defined PROTOTYPES || (defined __STDC__ && __STDC__) +# define PARAMS(args) args +# else +# define PARAMS(args) () # endif +#endif #if defined (vms) # include -- 2.30.2