This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: use K&R style function definitions in splay-tree library
- From: DJ Delorie <dj at redhat dot com>
- To: jimb at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 4 Mar 2002 21:31:11 -0500
- Subject: Re: RFA: use K&R style function definitions in splay-tree library
- References: <20020227225759.E6BA45E9DF@zwingli.cygnus.com>
> DJ pointed out that I used prototyped definitions in my recent splay
> tree patches. Does GCC have an "obvious fix rule" like GDB's?
It does, this is one, but with the ATTRIBUTE_UNUSED change.
> 2002-02-27 Jim Blandy <jimb@redhat.com>
>
> * splay-tree.c (splay_tree_xmalloc_allocate,
> splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
> prototyped definitions.
Ok with that change.