lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #8241] Fix implicit declaration of ip_input with LWI


From: Thomas Faber
Subject: [lwip-devel] [patch #8241] Fix implicit declaration of ip_input with LWIP_TCPIP_CORE_LOCKING_INPUT disabled
Date: Mon, 18 Nov 2013 12:08:16 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:2.0) Gecko/20100101 Firefox/4.0 Opera 12.16

URL:
  <http://savannah.nongnu.org/patch/?8241>

                 Summary: Fix implicit declaration of ip_input with
LWIP_TCPIP_CORE_LOCKING_INPUT disabled
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: thfabba
            Submitted on: Mon 18 Nov 2013 12:08:15 PM GMT
                Category: TCP
                Priority: 4
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

api/tcpip.c uses the function ip_input inside a #if
!LWIP_TCPIP_CORE_LOCKING_INPUT. This function is declared in ip4.h --
consequently, lwip/ip.h should be included by tcpip.c.
Compilers will rightfully warn otherwise:

MSVC:
..\..\lib\drivers\lwip\src\api\tcpip.c(107) : warning C4013: 'ip_input'
undefined; assuming extern returning int

GCC:
lib/drivers/lwip/src/api/tcpip.c:107:9: warning: implicit declaration of
function 'ip_input' [-Wimplicit-function-declaration]

(these are from building ReactOS; the line number in git master is 112)

I found this thread but it didn't seem to result in a fix:
http://lists.gnu.org/archive/html/lwip-users/2013-07/msg00061.html



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 18 Nov 2013 12:08:15 PM GMT  Name:
0001-Fix-missing-ip.h-include-in-tcpip.c.patch  Size: 590B   By: thfabba
Patch: Fix missing ip.h include in tcpip.c
<http://savannah.nongnu.org/patch/download.php?file_id=29651>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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