lwip-devel
[Top][All Lists]
Advanced

[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

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

                 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

    _______________________________________________________

Details:

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
[1]).

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

[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:
chrysn

<http://savannah.nongnu.org/patch/download.php?file_id=34537>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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