diff --git a/include/uv.h b/include/uv.h index b260a92f..c0442c6a 100644 --- a/include/uv.h +++ b/include/uv.h @@ -1087,7 +1087,6 @@ UV_EXTERN int uv_get_process_title(char* buffer, size_t size); UV_EXTERN int uv_set_process_title(const char* title); UV_EXTERN int uv_resident_set_memory(size_t* rss); UV_EXTERN int uv_uptime(double* uptime); -UV_EXTERN uv_os_fd_t uv_get_osfhandle(int fd); typedef struct { long tv_sec; diff --git a/src/unix/core.c b/src/unix/core.c index 424da252..14247f45 100644 --- a/src/unix/core.c +++ b/src/unix/core.c @@ -1317,8 +1317,3 @@ int uv_os_gethostname(char* buffer, size_t* size) { *size = len; return 0; } - - -uv_os_fd_t uv_get_osfhandle(int fd) { - return fd; -} diff --git a/src/win/handle.c b/src/win/handle.c index c2797068..9f83df16 100644 --- a/src/win/handle.c +++ b/src/win/handle.c @@ -148,8 +148,3 @@ void uv_close(uv_handle_t* handle, uv_close_cb cb) { int uv_is_closing(const uv_handle_t* handle) { return !!(handle->flags & (UV__HANDLE_CLOSING | UV_HANDLE_CLOSED)); } - - -uv_os_fd_t uv_get_osfhandle(int fd) { - return uv__get_osfhandle(fd); -}