[lkml]   [1998]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.1.90 swab.h warnings
Werner Almesberger <> writes:

> There's a little problem in 2.1.90 (as well as in older kernels - I had this
> already in 2.1.79) if programs are compiled with -Wmissing-prototypes on a
> libc5-based system and they #include <netinet/in.h>:
> The swap inline functions in linux/include/byteorder/swab.h don't have
> prototypes, so gcc ( in my case) complains. I've attached a patch
> that fixes the warnings.
> I never took the time to understand the exact rules for inline function
> declarations, so this may be a sub-optimal approach. Could someone please
> check it and then pass it on to Linus ? Thanks !

Also this file lets all hell break lose on non-gcc compilers [and it is
used on libc5 systems].


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to

 \ /
  Last update: 2005-03-22 13:41    [W:0.050 / U:2.260 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site