summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/devices.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/devices.h')
-rw-r--r--winsup/cygwin/devices.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/winsup/cygwin/devices.h b/winsup/cygwin/devices.h
index 9b1a82669..137fcd8b0 100644
--- a/winsup/cygwin/devices.h
+++ b/winsup/cygwin/devices.h
@@ -148,16 +148,19 @@ struct device
};
extern const device *console_dev;
-extern const device *dgram_dev;
-extern const device *icmp_dev;
-extern const device *stream_dev;
-extern const device *tcp_dev;
extern const device *ttym_dev;
extern const device *ttys_dev;
-extern const device *udp_dev;
-extern const device *unix_dev;
extern const device *urandom_dev;
+extern const device dev_dgram_storage;
+#define dgram_dev (&dev_dgram_storage)
+extern const device dev_stream_storage;
+#define stream_dev (&dev_stream_storage)
+extern const device dev_tcp_storage;
+#define tcp_dev (&dev_tcp_storage)
+extern const device dev_udp_storage;
+#define udp_dev (&dev_udp_storage)
+
extern const device dev_piper_storage;
#define piper_dev (&dev_piper_storage)
extern const device dev_pipew_storage;