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:
@ -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;
|
||||
|
@ -89,8 +89,6 @@ bool WiFiServer::hasClient(){
|
||||
return false;
|
||||
}
|
||||
|
||||
extern "C" void optimistic_yield();
|
||||
|
||||
WiFiClient WiFiServer::available(byte* status)
|
||||
{
|
||||
if (_unclaimed)
|
||||
|
@ -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() {
|
||||
|
Reference in New Issue
Block a user