Alignment issue
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
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.his 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.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerHi John,
Quoted 7 lines
Quoted 3 lines
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.cwhich contains:
Quoted 7 lines
#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.
we don't include kernel headers and asm/* are kernel headers. So it seems that there are some leftovers and I hopefully now cleaned them up. Can someone doublecheck on little and big endian machines that I don't made any mistakes. Please also check the RFCOMM part of hcidump.
Regards
Marcel
-------------------------------------------------------
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.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel