[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #19251] missing `const' qualifier in socket functions
From: |
Dmitry Potapov |
Subject: |
[lwip-devel] [bug #19251] missing `const' qualifier in socket functions |
Date: |
Thu, 08 Mar 2007 23:38:17 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.10) Gecko/20070216 Firefox/1.5.0.10 |
URL:
<http://savannah.nongnu.org/bugs/?19251>
Summary: missing `const' qualifier in socket functions
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: dpotapov
Submitted on: Thursday 03/08/2007 at 23:38
Category: sockets
Severity: 3 - Normal
Item Group: Change Request
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Prototypes of a few socket functions do not have `const', though it is
required by the standard, and that causes warnings in user programs.
I have found four functions in socket.h, in which prototypes `const' is
missing:
lwip_connect(), lwip_send(), lwip_sendto(), lwip_write().
Also, `const' is missing in the following netconn functions:
netbuf_ref() and netconn_write()
I have attached a patch to correct the problem.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thursday 03/08/2007 at 23:38 Name: add-const.patch Size: 5kB By:
dpotapov
<http://savannah.nongnu.org/bugs/download.php?file_id=12156>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?19251>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #19251] missing `const' qualifier in socket functions,
Dmitry Potapov <=