From: Bruno Haible Date: Tue, 6 Mar 2001 15:00:42 +0000 (+0000) Subject: Adjust definition of PARAMS. X-Git-Tag: v0.10.36~141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b0d6ceb68a703e829349f575e3921919121a3e4;p=thirdparty%2Fgettext.git Adjust definition of PARAMS. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index e41ff52d4..c61c22549 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2001-03-03 Bruno Haible + + * printf.h (PARAMS): GNU C always supports prototypes. + * system.h (PARAMS): Likewise. + 2001-03-05 Bruno Haible * vasprintf.c (int_vasprintf): Cast second arg of strtoul, to avoid diff --git a/lib/printf.h b/lib/printf.h index 9398cb1be..28686f3c4 100644 --- a/lib/printf.h +++ b/lib/printf.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992, 1993, 1995, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1991-1993, 1995, 2000, 2001 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 @@ -26,7 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #endif #ifndef PARAMS -# if __STDC__ +# if defined (__GNUC__) || __STDC__ # define PARAMS(args) args # else # define PARAMS(args) () diff --git a/lib/system.h b/lib/system.h index dcec66789..1708a492d 100644 --- a/lib/system.h +++ b/lib/system.h @@ -19,7 +19,7 @@ #define _SYSTEM_H 1 #ifndef PARAMS -# if __STDC__ +# if defined (__GNUC__) || __STDC__ # define PARAMS(args) args # else # define PARAMS(args) ()