]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree.h (integer_nonzerop): Use PARAMS macro with prototype.
authorRoger Sayle <roger@eyesopen.com>
Sat, 3 Jan 2004 05:14:24 +0000 (05:14 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Sat, 3 Jan 2004 05:14:24 +0000 (05:14 +0000)
* tree.h (integer_nonzerop): Use PARAMS macro with prototype.
* tree.c (integer_nonzerop): Use K&R style function declaration.

From-SVN: r75355

gcc/ChangeLog
gcc/tree.c
gcc/tree.h

index b7fb59bbab77a7e1bd89b25b71b26d6807bdf342..7c5ff75469253f4bd3576c227631935d4f7f141c 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-02  Roger Sayle  <roger@eyesopen.com>
+
+       * tree.h (integer_nonzerop): Use PARAMS macro with prototype.
+       * tree.c (integer_nonzerop): Use K&R style function declaration.
+
 2004-01-02  Andreas Schwab  <schwab@suse.de>
 
        * doc/c-tree.texi: Fix @item vs. @itemx.
index 0ecde79d4e0a71b0a9511d861b3281aa51efcf61..cae9bc6852d32fd3c818caf420e0303bb3995f29 100644 (file)
@@ -1,6 +1,6 @@
 /* Language-independent node constructors for parse phase of GNU compiler.
    Copyright (C) 1987, 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-   1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+   1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -727,7 +727,8 @@ integer_pow2p (expr)
    complex constant other than zero.  */
 
 int
-integer_nonzerop (tree expr)
+integer_nonzerop (expr)
+     tree expr;
 {
   STRIP_NOPS (expr);
 
index 275511f838812b1b5026dd4961930f0d2a55c9c4..4fa56527118c4bb159c653c9e1f488a9df8d0bd5 100644 (file)
@@ -1,6 +1,6 @@
 /* Front-end tree definitions for GNU compiler.
    Copyright (C) 1989, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-   2001, 2002 Free Software Foundation, Inc.
+   2001, 2002, 2003, 2004 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -2640,7 +2640,7 @@ extern int integer_pow2p          PARAMS ((tree));
 /* integer_nonzerop (tree x) is nonzero if X is an integer constant
    with a nonzero value.  */
 
-extern int integer_nonzerop (tree);
+extern int integer_nonzerop            PARAMS ((tree));
 
 /* staticp (tree x) is nonzero if X is a reference to data allocated
    at a fixed address in memory.  */