[Top][All Lists]

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

[lwip-devel] [patch #8708] fix return type of netif_add_ip6_address mism

From: chrysn
Subject: [lwip-devel] [patch #8708] fix return type of netif_add_ip6_address mismatch
Date: Mon, 27 Jul 2015 09:19:14 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/601.1 (KHTML, like Gecko) Version/8.0 Safari/601.1 Debian/unstable (3.16.3-1) Epiphany/3.16.3


                 Summary: fix return type of netif_add_ip6_address mismatch
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: chrysn
            Submitted on: Mon 27 Jul 2015 09:19:13 GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None



the netif_add_ip6_address function was declared err_t in
src/include/lwip/netif.h, but defined as s8_t (the default value of
err_t) in its implementation in src/core/netif.c.

this causes "conflicting types for 'netif_add_ip6_address'" errors if
err_t is defined differently in cc.h (as for example recommended in

as it only returns error constants, it is changed to use err_t

[1] http://lwip.wikia.com/wiki/Porting_For_Bare_Metal


File Attachments:

Date: Mon 27 Jul 2015 09:19:13 GMT  Name:
0001-fix-return-type-of-netif_add_ip6_address-mismatch.patch  Size: 1kB   By:



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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