Cygwin: eliminate unused fhandler method hclose
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
7bcab422e5
commit
cc9fe2c716
|
@ -311,7 +311,6 @@ class fhandler_base
|
|||
/* Returns name used for /proc/<pid>/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;}
|
||||
|
|
Loading…
Reference in New Issue