Inclusion of sys/types.h

Joerg Sonnenberger joerg at britannica.bec.de
Wed Jan 26 01:31:14 PST 2005


On Wed, Jan 26, 2005 at 10:05:33AM +0100, Jeroen Ruigrok/asmodai wrote:
> strftime() should return size_t, not __size_t, regardless if the type
> definition ends up being the same anyway.  __ prefixed types are supposed to
> be either internal ones, reserved ones or other special case types.
> 
> That's why
> 
> #ifdef  _BSD_SIZE_T_
> typedef _BSD_SIZE_T_    size_t;
> #undef  _BSD_SIZE_T_
> #endif

I don't like this, but I'll fix it (a bit different).

Joerg





More information about the Bugs mailing list