diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h index 79991bd36..4c7fea3e3 100644 --- a/winsup/cygwin/fhandler.h +++ b/winsup/cygwin/fhandler.h @@ -311,7 +311,6 @@ class fhandler_base /* Returns name used for /proc//fd in buf. */ virtual char *get_proc_fd_name (char *buf); - virtual void hclose (HANDLE h) {CloseHandle (h);} virtual void set_no_inheritance (HANDLE &, bool); /* fixup fd possibly non-inherited handles after fork */ @@ -623,8 +622,6 @@ class fhandler_socket: public fhandler_base return -1; } - void hclose (HANDLE) {close ();} - void set_addr_family (int af) {addr_family = af;} int get_addr_family () {return addr_family;} void set_socket_type (int st) { type = st;}