[PATCH driver/input/synaptics] For serial devices try reconnecting if device is wedged.
Mark Kettenis
mark.kettenis at xs4all.nl
Mon Jul 29 08:15:32 PDT 2013
> Date: Mon, 29 Jul 2013 15:21:05 +0100
> From: Daniel Stone <daniel at fooishbar.org>
>
> Hi,
>
> On 29 July 2013 14:55, Mark Kettenis <mark.kettenis at xs4all.nl> wrote:
> > C99, 7.1.3 Reserved identifiers:
> >
> > -- All identifiers that begin with an underscore and either an
> > uppercase letter or another underscore are always reserved for
> > any use.
> >
> > -- All identifiers that begin with an underscore are always reserved
> > for use as identifiers with file scope in both the ordinary and
> > tag name spaces.
> >
> >
> > ... If the program declares or defines an identifier in a context
> > in which it is reserved (other than as allowed by 7.1.4), or
> > defines a reserved identifier as a macro name, the behavior is
> > undefined.
> >
> > POSIX has similar provisions.
>
> Ah yes, you're right: I'd forgotten about the uppercase rule. A dumb
> rule, but a rule nonetheless. The further provision is that you're
> not allowed to use anything beginning with an underscore at all in the
> global namespace.
>
> So, _deviceOn would be fine here.
No it wouldn't, since the function in question is declared/defined
with file scope. The fact that it is declared as static doesn't
matter here. It would be ok to use _deviceOn as local variable name
though.
More information about the xorg-devel
mailing list