Re: [PATCH] x86 byteorder.h: use __asm__/__inline__ for userspace

H. Peter Anvin
2008-12-27T19:25:16Z

Sam Ravnborg wrote:
>
> I was only thinking of a warning so we could have this part cleaned up.
> It is for the most part a trivial task to do for a volunteer.
>

Why do a warning and then have people hack it manually? If we do it
automatically, we should be able to get rid of *another* special rule
for user-exported headers, and make the code look more similar again.

> I could also see some sporadic use of u_int32_t - dunno where it comes from.
> But looks wrong to me.

I think it's an old BSDism.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.