Re: [Bluez-devel] Alignment issue

john smith
2004-08-16T09:48:58Z

> > > Why are these macros even here? ISTR Max having some reason not to use
> > > <asm/unaligned.h> but surely that's what it's there for...
> >
> > No, asm/unaligned.h is there for kernel code only.
>
>the rule is to not include headers from the kernel source code in any
>user space program or library. Even if some people try to bend this rule
>I will follow as much as I can.

Hi, I'm new to Linux prog. and I'm a bit confused. Does this mean there's a
problem with bluez/utils/tools/l2ping.c which contains:

#include <asm/types.h>
#include <asm/byteorder.h>

Or are the above includes System kernel headers ( which as far as I
understand are OK for user-space apps. to link to) rather than Kernel source
headers.

Bye for now,

John

_________________________________________________________________
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.