lkml.org 
[lkml]   [1998]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.1.90 swab.h warnings
From
Date
Werner Almesberger <almesber@lrc.di.epfl.ch> 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 (2.7.2.1 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].

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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