mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
Avoid multiple instances of INADDR_NONE
By moving the definition from the header to the source we now only use one instance for the entire app with a little saving in space.
This commit is contained in:
@ -87,6 +87,6 @@ class IPAddress: public Printable {
|
||||
friend class DNSClient;
|
||||
};
|
||||
|
||||
const IPAddress INADDR_NONE(0, 0, 0, 0);
|
||||
extern const IPAddress INADDR_NONE;
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user