1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-12 01:53:07 +03:00

define in header

remove extern from cpp files
This commit is contained in:
Makuna
2015-07-15 16:32:49 -07:00
parent 0b2fb8d3ee
commit 17de2d7a4e
7 changed files with 2 additions and 11 deletions

View File

@ -177,8 +177,6 @@ size_t WiFiClient::write(const uint8_t *buf, size_t size)
return _client->write(reinterpret_cast<const char*>(buf), size);
}
extern "C" void optimistic_yield();
int WiFiClient::available()
{
int result = 0;

View File

@ -89,8 +89,6 @@ bool WiFiServer::hasClient(){
return false;
}
extern "C" void optimistic_yield();
WiFiClient WiFiServer::available(byte* status)
{
if (_unclaimed)

View File

@ -113,8 +113,6 @@ uint8_t WiFiUDP::beginMulticast(IPAddress interfaceAddr, IPAddress multicast, ui
return 1;
}
extern "C" void optimistic_yield();
/* return number of bytes available in the current packet,
will return zero if parsePacket hasn't been called yet */
int WiFiUDP::available() {