diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2018-02-23 15:32:51 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2018-02-23 15:32:51 +0300 |
commit | 03f380c2bc12bae32e8e0718c195e5d744011108 (patch) | |
tree | 3f91dba9645d4173914d4c5632f8aa4d75f22a46 /winsup/cygwin/devices.cc | |
parent | b8a57a2d2a13887ef7e7b60bbc3b9666bab64c71 (diff) |
Cygwin: drop unused device nodes and clean up socket devices
* Rename DEV_TCP_MAJOR to DEV_SOCK_MAJOR
* Drop FH_TCP, FH_UDP, FH_ICMP in favor of single FH_INET
* Drop FH_UNIX, FH_STREAM, FH_DGRAM in favor of single FH_LOCAL
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/devices.cc')
-rw-r--r-- | winsup/cygwin/devices.cc | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/winsup/cygwin/devices.cc b/winsup/cygwin/devices.cc index c2df919d4..2b65108a3 100644 --- a/winsup/cygwin/devices.cc +++ b/winsup/cygwin/devices.cc @@ -120,17 +120,11 @@ const _device dev_piper_storage = const _device dev_pipew_storage = {"", {FH_PIPEW}, "", exists_internal}; -const _device dev_tcp_storage = - {"", {FH_TCP}, "", exists_internal}; +const _device dev_af_inet_storage = + {"", {FH_INET}, "", exists_internal}; -const _device dev_udp_storage = - {"", {FH_UDP}, "", exists_internal}; - -const _device dev_stream_storage = - {"", {FH_STREAM}, "", exists_internal}; - -const _device dev_dgram_storage = - {"", {FH_DGRAM}, "", exists_internal}; +const _device dev_af_local_storage = + {"", {FH_LOCAL}, "", exists_internal}; const _device dev_bad_storage = {"", {FH_NADA}, "", exists_internal}; |