|
From: | Bill Auerbach |
Subject: | [lwip-devel] [bug #30129] struct _ip_addr should be struct ip_addr |
Date: | Mon, 14 Jun 2010 17:49:51 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729) |
URL: <http://savannah.nongnu.org/bugs/?30129> Summary: struct _ip_addr should be struct ip_addr Project: lwIP - A Lightweight TCP/IP stack Submitted by: billauerbach Submitted on: Mon 14 Jun 2010 01:49:50 PM EDT Category: None Severity: 3 - Normal Item Group: Change Request Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Planned Release: lwIP version: CVS Head _______________________________________________________ Details: Adding the leading underscore breaks a lot of existing code unnecessarily. This struct and typedef can be: struct ip_addr { u32_t addr; }; and typedef struct ip_addr ip_addr_t; As the typedef and struct are synonymous it can be as above without breaking code but allowing the cleaner typedef to also be used in application code and as it is now in lwIP 1.4 _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?30129> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |