On Wed, Sep 22, 2010 at 4:49 PM, David Coppa <[email protected]> wrote:
> On Wed, Sep 22, 2010 at 4:24 PM, Markus Lude <[email protected]> wrote:
>> Hello,
>>
>> when building net/pktstat I get these warnings:
>>
>> if cc -DHAVE_CONFIG_H -I. -I. -I.  -DPATH_PKTSTATRC=\"/etc/pktstatrc\"    
>> -O2 -pipe -MT loop.o -MD -MP -MF ".deps/loop.Tpo" -c -o loop.o loop.c;  then 
>> mv -f ".deps/loop.Tpo" ".deps/loop.Po"; else rm -f ".deps/loop.Tpo"; exit 1; 
>> fi
>> In file included from loop.c:19:
>> /usr/include/arpa/inet.h:74: warning: 'struct in_addr' declared inside 
>> parameter list
>> /usr/include/arpa/inet.h:74: warning: its scope is only this definition or 
>> declaration, which is probably not what you want
>> /usr/include/arpa/inet.h:75: warning: 'struct in_addr' declared inside 
>> parameter list
>>
>> if cc -DHAVE_CONFIG_H -I. -I. -I.  -DPATH_PKTSTATRC=\"/etc/pktstatrc\"    
>> -O2 -pipe -MT sll.o -MD -MP -MF ".deps/sll.Tpo" -c -o sll.o sll.c;  then mv 
>> -f ".deps/sll.Tpo" ".deps/sll.Po"; else rm -f ".deps/sll.Tpo"; exit 1; fi
>> In file included from sll.c:21:
>> /usr/include/arpa/inet.h:74: warning: 'struct in_addr' declared inside 
>> parameter list
>> /usr/include/arpa/inet.h:74: warning: its scope is only this definition or 
>> declaration, which is probably not what you want
>> /usr/include/arpa/inet.h:75: warning: 'struct in_addr' declared inside 
>> parameter list
>>
>> The attached diff seems to fix this.
>
> Yeah. Please, commit it.

Ops! I thought you were lum@ :)

Btw, it's committed now. Thank you again

Ciao,
David

Reply via email to