[MPlayer-dev-eng] [PATCH] Change lots of defines to one big enum.

Uoti Urpala uoti.urpala at pp1.inet.fi
Thu Jun 19 19:19:11 CEST 2008


On Thu, 2008-06-19 at 08:58 -0700, Bryan Henderson wrote:
> On 6/18/08, Michael Niedermayer <michaelni at gmx.at> wrote:
> > Tell that to the people who designed posix ...
> > btw:
> > http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_02.html
> > contains the list of what posix claims for itself ...
> 
> The list of what POSIX reserves for itself, in that reference, does
> not include _t.

It does. Or more precisely, reserved for the standard OR implementations
of the standard. See the last line of the first table.

>   All it says about _t is that any type declared in a
> system header file (of a POSIX-compliant system) must end in _t.

Where do you see such a claim? I see no prohibition against declaring a
type with a different name on that page (and such a rule without
exceptions would conflict with the C standard type "FILE").

>   That
> doesn't imply an Mplayer header file can't also have a type that ends
> in _t.

Those identifiers are reserved for the POSIX standard and operating
systems implementing it.





More information about the MPlayer-dev-eng mailing list