lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #9072] Add missing include for lwip/sys.h


From: Sylvain Rochet
Subject: [lwip-devel] [patch #9072] Add missing include for lwip/sys.h
Date: Sun, 7 Aug 2016 10:43:40 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #1, patch #9072 (project lwip):

In this case it should be added to all files using LWIP_RAND:

lwip$ grep -R "LWIP_RAND" $(find -iname "*.c") | cut -d \: -f 1 | sort | uniq
./src/apps/snmp/snmpv3.c
./src/core/dns.c
./src/core/init.c
./src/core/ipv4/dhcp.c
./src/core/ipv4/igmp.c
./src/core/ipv6/mld6.c
./src/core/tcp.c
./src/core/udp.c
./src/netif/ppp/magic.c


$ grep lwip/sys.h $(grep -R "LWIP_RAND" $(find -iname "*.[ch]") | cut -d \: -f
1 | sort | uniq)
./src/apps/snmp/snmpv3.c:#include "lwip/sys.h"
./src/core/init.c:#include "lwip/sys.h"


Your patch only adds it to src/core/dns.c, src/core/ipv4/dhcp.c
, src/core/ipv4/igmp.c.


I'm not sure this is the spirit behind LWIP_RAND though, I will let Simon
decide :)

Sylvain

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?9072>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]