|
From: | Dmitry Potapov |
Subject: | [lwip-devel] [patch #5783] clean up: add `const' qualifier to 'char*' in err.c and err.h |
Date: | Tue, 06 Mar 2007 06:59:33 +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/patch/?5783> Summary: clean up: add `const' qualifier to 'char*' in err.c and err.h Project: lwIP - A Lightweight TCP/IP stack Submitted by: dpotapov Submitted on: Tuesday 03/06/2007 at 06:59 Category: None Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: During compilation api/err.c, gcc produces a lot of warnings saying "initialization discards qualifiers from pointer target type". The patch adds 'const' to 'char*' to get rid of these annoying warnings. Only 3 lines have been changed. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Tuesday 03/06/2007 at 06:59 Name: const-qualifier.patch Size: 1kB By: dpotapov <http://savannah.nongnu.org/patch/download.php?file_id=12122> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?5783> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |