[RFC][PATCH 0/2] KABI example conversion and cleanup

Kyle Moffett mrmacman_g4 at mac.com
Mon Mar 27 02:18:52 CEST 2006


On Mar 26, 2006, at 16:18:29, Rob Landley wrote:
>>> The problem is things like u64 etc that is VERY common in all  
>>> headers, but then again __u64 etc are just fine, history has  
>>> proven that already.
>>
>> Agree. But to be on the safe side one can use uint64_t and friends  
>> (which the kernel can typedef to u64 and first degree relatives)
>
> Now that the kernel no longer targets gcc before 3.2, c99 names are  
> merely ugly rather than an actual problem. :)

No, they're still a problem in ABI headers because they have defined  
visibility.  A userspace program that does not include <stdint.h>  
will not have those types put in its namespace.  Including <sys/ 
time.h> _cannot_ bring <stdint.> in automatically, that breaks the  
POSIX symbol visibility rules.

Cheers,
Kyle Moffett



More information about the llh-discuss mailing list