<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40460 >

> [book - Tue Aug 26 00:12:38 2008]:
> 
> > [EMAIL PROTECTED] - Mon Aug 25 20:42:24 2008]:
> > 
> > 2008/8/25 Madeline Book:
> > > Or the prefix my_ could be changed, perhaps to fc_ or
> > > similar (there are unfortunately many freeciv support
> > > functions that start with my_ :().
> > 
> >  I would vote for 'fc_' -prefix. It's not necessary to replace all
> > 'my_' -functions with 'fc_' -functions now, but over time we should
> > go that way.
> > 
> >  Or maybe also just two letter 'fc' is too likely to cause namespace
> > conflicts... 'fciv' is not good as this is Freeciv, not FreeCiv.
> 
> Possibly, though I can't think of any libraries that freeciv
> would use that would use the "fc_" prefix. And there are
> already fc_calloc/malloc that use this convention. Attached
> patch changes all my_ prefixes in netinf.h to use fc_ and
> updates all occurences of those functions.

Committed to S2_2 (r15174) and trunk (r15175).


----------------------------------------------------------------------
常にあって終わらない音楽を楽々聞いている。

_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to