lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #32561] tcp_poll argument definition out-of-order in d


From: Dave Rea
Subject: [lwip-devel] [bug #32561] tcp_poll argument definition out-of-order in documentation
Date: Mon, 21 Feb 2011 19:13:14 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13

URL:
  <http://savannah.nongnu.org/bugs/?32561>

                 Summary: tcp_poll argument definition out-of-order in
documentation
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: davidrea
            Submitted on: Mon 21 Feb 2011 07:13:13 PM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: Compiler Warning
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: Other

    _______________________________________________________

Details:

Using lwip-1.3.2 as packaged with StellarisWare by Luminary Micro / Texas
Instruments.

rawapi.txt provides the following function signature: 

void tcp_poll(struct tcp_pcb *pcb, u8_t interval, err_t (* poll)(void *arg,
struct tcp_pcb *tpcb))

However, the actual signature in tcp.h is:

void tcp_poll (struct tcp_pcb *pcb, err_t (* poll)(void *arg, struct tcp_pcb
*tpcb), u8_t interval);

The 2nd and 3rd arguments appear to be reversed in the documentation. This
appears to still be the case at the current HEAD.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?32561>

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




reply via email to

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