[pacman-dev] [PATCH 00/25] Rename types from pmfoo_t to alpm_foo_t

Dan McGee dpmcgee at gmail.com
Sat Jul 9 15:43:00 EDT 2011


On Sat, Jul 9, 2011 at 9:51 AM, Sebastian Nowicki <sebnow at gmail.com> wrote:
> Not sure which is the official source, but here's one:
> http://www.gnu.org/s/hello/manual/libc/Reserved-Names.html
>
> Extract:
>
>> Some additional classes of identifier names are reserved for future
>> extensions to the C language or the POSIX.1 environment. While
>> using these names for your own purposes right now might not cause
>> a problem, they do raise the possibility of conflict with future versions
>> of the C or POSIX standards, so you should avoid these names.
>> [..]
>> Names that end with ‘_t’ are reserved for additional type names.

Good to know, thanks for the link.

I'd probably say we are fine as we now use the same prefix on all of
our exported symbols, so our chance of being in conflict with any
future type name or function is slim to none.

-Dan


More information about the pacman-dev mailing list