DragonFly BSD
DragonFly bugs List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Inclusion of sys/types.h


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Wed, 26 Jan 2005 10:29:28 +0100
Mail-followup-to: bugs@crater.dragonflybsd.org

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]