diff options
author | Fedor Indutny <fedor@indutny.com> | 2016-06-04 14:46:01 -0400 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2016-06-04 14:46:01 -0400 |
commit | a66bb042e02bd1021a574c32a27fff087ab1c9f4 (patch) | |
tree | c4d99117635a7214d1a292f52d42d7688824cc0c /include/uv_link_t.h | |
parent | 09d9895a8177876b5c84b80c43b94f3e205be05e (diff) | |
download | uv_link_t-a66bb042e02bd1021a574c32a27fff087ab1c9f4.tar.gz |
Revert "api: `uv_link_strerror`"
This reverts commit 0799c7c91ee710eb9ce752bcfcd6952a0838b495.
Diffstat (limited to 'include/uv_link_t.h')
-rw-r--r-- | include/uv_link_t.h | 7 |
1 files changed, 0 insertions, 7 deletions
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, |