__fswabXX symbol clash between uclibc and linux on CRIS
Rob Landley
rob at landley.net
Thu Jan 18 13:25:02 UTC 2007
On Wednesday 17 January 2007 9:07 pm, Andreas Eckstein wrote:
> Hi all!
> How would one go about solving this? Renaming? Just trying not to
> include both headers at once? Trying to include the in-kernel versions
> into byteswap.h? The functions look similar enough, but it is not as
> trivial as including swab.h in byteswap.h, and anyway it feels kind of
> wrong to use some kernel-header inline function in userland.
Either the function is exported with the intent of being used in things like C
library implementations, or else it shouldn't be there in the "sanitized"
version of the kernel headers.
So either your kernel headers aren't clean, or it's ok to use it.
Rob
--
"Perfection is reached, not when there is no longer anything to add, but
when there is no longer anything to take away." - Antoine de Saint-Exupery
More information about the uClibc
mailing list