Em Sun, Aug 14, 2005 at 07:11:46PM +0200, Patrick McHardy escreveu:
> gcc-4.0.1 (new debian default) emits a couple of warnings in
> the dccp code, this patch silences them.
>
> [DCCP]: Fix compiler warnings
Thanks Patrick, I'm applying this to the dccp-2.6.14.git tree
Mitchell Blank Jr wrote:
> Patrick McHardy wrote:
>
>>-static inline const int before48(const u64 seq1, const u64 seq2)
>>+static inline int before48(const u64 seq1, const u64 seq2)
>
> Perhaps "__attribute__ ((const))" is what was meant here?
Doesn't matter for inline functions, the compiler k
Patrick McHardy wrote:
> -static inline const int before48(const u64 seq1, const u64 seq2)
> +static inline int before48(const u64 seq1, const u64 seq2)
Perhaps "__attribute__ ((const))" is what was meant here?
-Mitch
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the bod
gcc-4.0.1 (new debian default) emits a couple of warnings in
the dccp code, this patch silences them.
[DCCP]: Fix compiler warnings
may be a false warning if there always is something on ccid3hcrx_hist:
net/dccp/ccids/ccid3.c: In function 'ccid3_hc_rx_packet_recv':
net/dccp/ccids/cc