From a69ccc74b7a9ad721be4d891a57f48e059284c61 Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Mon, 30 Aug 2010 12:27:55 -0600 Subject: [PATCH] Don't use :: before C library functions. --- libcore/ExternalInterface.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libcore/ExternalInterface.cpp b/libcore/ExternalInterface.cpp index 25c404777..51b333e59 100644 --- a/libcore/ExternalInterface.cpp +++ b/libcore/ExternalInterface.cpp @@ -361,7 +361,7 @@ ExternalInterface::ExternalEventCheck(int fd) // some memory to read the data. // terminate incase we want to treat the data like a string. buffer[bytes+1] = 0; - int ret = ::read(fd, buffer.get(), bytes); + int ret = read(fd, buffer.get(), bytes); if (ret) { return parseInvoke(buffer.get()); } @@ -651,7 +651,7 @@ size_t ExternalInterface::writeBrowser(int fd, const std::string &data) { if (fd > 0) { - return ::write(fd, data.c_str(), data.size()); + return write(fd, data.c_str(), data.size()); } return -1; @@ -688,7 +688,7 @@ ExternalInterface::readBrowser(int fd) std::string buf(bytes, '\0'); - int ret = ::read(fd, &buf[0], bytes); + int ret = read(fd, &buf[0], bytes); if (ret <= 0) { return empty; } -- 2.11.4.GIT