Index: runtime/bin/utils_fuchsia.cc |
diff --git a/runtime/bin/utils_fuchsia.cc b/runtime/bin/utils_fuchsia.cc |
index 09824d21b3dc2b1664af487faf3929b6e083708f..bdde6b7dad1bc4caee37ee44b75952a44c2165ce 100644 |
--- a/runtime/bin/utils_fuchsia.cc |
+++ b/runtime/bin/utils_fuchsia.cc |
@@ -24,7 +24,6 @@ OSError::OSError() : sub_system_(kSystem), code_(0), message_(NULL) { |
SetMessage(Utils::StrError(errno, error_buf, kBufferSize)); |
} |
- |
void OSError::SetCodeAndMessage(SubSystem sub_system, int code) { |
set_sub_system(sub_system); |
set_code(code); |
@@ -39,7 +38,6 @@ void OSError::SetCodeAndMessage(SubSystem sub_system, int code) { |
} |
} |
- |
const char* StringUtils::ConsoleStringToUtf8(const char* str, |
intptr_t len, |
intptr_t* result_len) { |
@@ -47,7 +45,6 @@ const char* StringUtils::ConsoleStringToUtf8(const char* str, |
return NULL; |
} |
- |
const char* StringUtils::Utf8ToConsoleString(const char* utf8, |
intptr_t len, |
intptr_t* result_len) { |
@@ -55,7 +52,6 @@ const char* StringUtils::Utf8ToConsoleString(const char* utf8, |
return NULL; |
} |
- |
char* StringUtils::ConsoleStringToUtf8(char* str, |
intptr_t len, |
intptr_t* result_len) { |
@@ -63,7 +59,6 @@ char* StringUtils::ConsoleStringToUtf8(char* str, |
return NULL; |
} |
- |
char* StringUtils::Utf8ToConsoleString(char* utf8, |
intptr_t len, |
intptr_t* result_len) { |
@@ -71,31 +66,25 @@ char* StringUtils::Utf8ToConsoleString(char* utf8, |
return NULL; |
} |
- |
char* StringUtils::StrNDup(const char* s, intptr_t n) { |
return strndup(s, n); |
} |
- |
bool ShellUtils::GetUtf8Argv(int argc, char** argv) { |
return false; |
} |
- |
void TimerUtils::InitOnce() {} |
- |
int64_t TimerUtils::GetCurrentMonotonicMillis() { |
return GetCurrentMonotonicMicros() / 1000; |
} |
- |
int64_t TimerUtils::GetCurrentMonotonicMicros() { |
int64_t ticks = mx_time_get(MX_CLOCK_MONOTONIC); |
return ticks / kNanosecondsPerMicrosecond; |
} |
- |
void TimerUtils::Sleep(int64_t millis) { |
mx_nanosleep(mx_deadline_after(millis * kMicrosecondsPerMillisecond * |
kNanosecondsPerMicrosecond)); |