This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] recog.c: Make verify_changes static.
- From: Jeffrey A Law <law at redhat dot com>
- To: Kazu Hirata <kazu at cs dot umass dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 07 Mar 2005 01:08:59 -0700
- Subject: Re: [patch] recog.c: Make verify_changes static.
- Organization: Red Hat, Inc
- References: <20050306.221429.125872503.kazu@cs.umass.edu>
- Reply-to: law at redhat dot com
On Sun, 2005-03-06 at 22:14 -0500, Kazu Hirata wrote:
> Hi,
>
> Attached is a patch to make verify_changes static as it is used only
> in recog.c.
>
> Tested on i686-pc-linux-gnu. OK to apply?
>
> Kazu Hirata
>
> 2005-03-07 Kazu Hirata <kazu@cs.umass.edu>
>
> * recog.c (verify_changes): Make it static.
> * recog.h: Remove the corresponding prototype.
Approved. Actually, consider all changes which make functions or
variables file-scope instead of global scpoe pre-approved -- with
the exception of anything which changes the visibility of stuff in
the runtime libraries such as libgcc, libjava, libstdc++, etc.
jeff