]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Adjust definition of PARAMS.
authorBruno Haible <bruno@clisp.org>
Tue, 6 Mar 2001 15:00:42 +0000 (15:00 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 6 Mar 2001 15:00:42 +0000 (15:00 +0000)
lib/ChangeLog
lib/printf.h
lib/system.h

index e41ff52d4c7fc5541690529c16bfb99eac2ae8e7..c61c225495a3f7d45733253db60c58be75505b5a 100644 (file)
@@ -1,3 +1,8 @@
+2001-03-03  Bruno Haible  <haible@clisp.cons.org>
+
+       * printf.h (PARAMS): GNU C always supports prototypes.
+       * system.h (PARAMS): Likewise.
+
 2001-03-05  Bruno Haible  <haible@clisp.cons.org>
 
        * vasprintf.c (int_vasprintf): Cast second arg of strtoul, to avoid
index 9398cb1be0a7e1b49f9804d676c7a32ba3830ef1..28686f3c4898e745e0cb16218bb5e8af02361121 100644 (file)
@@ -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) ()
index dcec66789692b3a2132674e1d9258eac2fd0df1c..1708a492dfde5807969d022b57a17a04d75d0f82 100644 (file)
@@ -19,7 +19,7 @@
 #define _SYSTEM_H 1
 
 #ifndef PARAMS
-# if __STDC__
+# if defined (__GNUC__) || __STDC__
 #  define PARAMS(args) args
 # else
 #  define PARAMS(args) ()