1
0
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:
Baruch Even
2016-03-24 09:47:02 +02:00
parent 633e48f3ae
commit 91cc6ff4f9
2 changed files with 2 additions and 1 deletions

View File

@ -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