Cygwin: eliminate unused fhandler method hclose

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2018-02-23 14:56:30 +01:00
parent 7bcab422e5
commit cc9fe2c716
1 changed files with 0 additions and 3 deletions

View File

@ -311,7 +311,6 @@ class fhandler_base
/* Returns name used for /proc/<pid>/fd in buf. */ /* Returns name used for /proc/<pid>/fd in buf. */
virtual char *get_proc_fd_name (char *buf); virtual char *get_proc_fd_name (char *buf);
virtual void hclose (HANDLE h) {CloseHandle (h);}
virtual void set_no_inheritance (HANDLE &, bool); virtual void set_no_inheritance (HANDLE &, bool);
/* fixup fd possibly non-inherited handles after fork */ /* fixup fd possibly non-inherited handles after fork */
@ -623,8 +622,6 @@ class fhandler_socket: public fhandler_base
return -1; return -1;
} }
void hclose (HANDLE) {close ();}
void set_addr_family (int af) {addr_family = af;} void set_addr_family (int af) {addr_family = af;}
int get_addr_family () {return addr_family;} int get_addr_family () {return addr_family;}
void set_socket_type (int st) { type = st;} void set_socket_type (int st) { type = st;}