[x264-devel] [PATCH] fix more illegal identifiers
Diego Biurrun
diego at biurrun.de
Fri Apr 25 10:46:31 CEST 2008
On Thu, Apr 24, 2008 at 09:24:37PM +0200, Guillaume POIRIER wrote:
>
> On Thu, Apr 24, 2008 at 9:21 PM, Måns Rullgård <mans at mansr.com> wrote:
> > Diego Biurrun <diego at biurrun.de> writes:
> >
> > > OK, here is the next patch to do $subject.
> > >
> > > --- a/gtk/x264_gtk.c
> > > +++ b/gtk/x264_gtk.c
> > > @@ -330,7 +330,7 @@ x264_gtk_free (X264_Gtk *x264_gtk)
> > > /* Callbacks */
> > >
> > > static void
> > > -_dialog_run (GtkDialog *dialog __UNUSED__,
> > > +_dialog_run (GtkDialog *dialog UNUSED,
> >
> > _dialog_run and similar names are also bad, since all identifiers
> > beginning with _ are reserved at the file scope. _[a-z] is allowed
> > for local variables and struct/union members.
>
> Yep, I noticed that too, I just figured that Diego had a separate
> patch for that issue.
No, I haven't, so feel free to beat me to it :)
Diego
More information about the x264-devel
mailing list