summaryrefslogtreecommitdiff
path: root/winsup/cygwin/cygwin-gperf
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/cygwin-gperf')
-rwxr-xr-xwinsup/cygwin/cygwin-gperf14
1 files changed, 13 insertions, 1 deletions
diff --git a/winsup/cygwin/cygwin-gperf b/winsup/cygwin/cygwin-gperf
index 4a989af0578..3b083732a01 100755
--- a/winsup/cygwin/cygwin-gperf
+++ b/winsup/cygwin/cygwin-gperf
@@ -18,7 +18,10 @@ my %fh_declare = (
'fs_dev' => '&fs_dev_storage',
'proc_dev' => '&proc_dev_storage',
'registry_dev' => '&registry_dev_storage',
- 'process_dev' => '&process_dev_storage'
+ 'process_dev' => '&process_dev_storage',
+ 'piper_dev' => '&piper_dev_storage',
+ 'pipew_dev' => '&pipew_dev_storage',
+ 'socket_dev' => '&socket_dev_storage'
);
foreach (@lines) {
@@ -46,6 +49,15 @@ static const device registry_dev_storage =
static const device process_dev_storage =
{"", FH_PROCESS, "", 0, 0, 0, 0};
+static const device socket_dev_storage =
+ {"", FH_SOCKET, "", 0, 0, 0, 0};
+
+static const device piper_dev_storage =
+ {"", FH_PIPER, "", 0, 0, 0, 0};
+
+static const device pipew_dev_storage =
+ {"", FH_PIPEW, "", 0, 0, 0, 0};
+
EOF
for my $f (sort keys %fh_declare) {
$_ .= "const device *$f = $fh_declare{$f};\n";