From a66bb042e02bd1021a574c32a27fff087ab1c9f4 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Sat, 4 Jun 2016 14:46:01 -0400 Subject: Revert "api: `uv_link_strerror`" This reverts commit 0799c7c91ee710eb9ce752bcfcd6952a0838b495. --- include/uv_link_t.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'include/uv_link_t.h') diff --git a/include/uv_link_t.h b/include/uv_link_t.h index 9ba96ad..61d4cf0 100644 --- a/include/uv_link_t.h +++ b/include/uv_link_t.h @@ -40,8 +40,6 @@ struct uv_link_methods_s { void (*close)(uv_link_t* link, uv_link_t* source, uv_link_close_cb cb); - const char* (*strerror)(uv_link_t* link, int err); - /* Overriding callbacks */ uv_link_alloc_cb alloc_cb_override; uv_link_read_cb read_cb_override; @@ -122,10 +120,6 @@ static int uv_link_shutdown(uv_link_t* link, uv_link_shutdown_cb cb, return uv_link_propagate_shutdown(link, link, cb, arg); } -static const char* uv_link_strerror(uv_link_t* link, int err) { - return link->methods->strerror(link, err); -} - /* Link Source */ struct uv_link_source_s { @@ -176,7 +170,6 @@ int uv_link_default_shutdown(uv_link_t* link, void* arg); void uv_link_default_close(uv_link_t* link, uv_link_t* source, uv_link_close_cb cb); -const char* uv_link_default_strerror(uv_link_t* link, int err); void uv_link_default_alloc_cb_override(uv_link_t* link, size_t suggested_size, -- cgit 1.4.1-2-gfad0