summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/file/posixfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/file/posixfile.cpp')
-rw-r--r--src/osd/modules/file/posixfile.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/osd/modules/file/posixfile.cpp b/src/osd/modules/file/posixfile.cpp
index 69b7c60d4a0..580288c7d10 100644
--- a/src/osd/modules/file/posixfile.cpp
+++ b/src/osd/modules/file/posixfile.cpp
@@ -226,9 +226,7 @@ std::error_condition osd_file::open(std::string const &path, std::uint32_t openf
{
std::string dst;
if (posix_check_socket_path(path))
- return posix_open_tcp_socket(path, openflags, file, filesize);
- else if (posix_check_udp_path(path))
- return posix_open_udp_socket(path, openflags, file, filesize);
+ return posix_open_socket(path, openflags, file, filesize);
else if (posix_check_ptty_path(path))
return posix_open_ptty(openflags, file, filesize, dst);
else if (posix_check_domain_path(path))
@@ -345,16 +343,6 @@ std::error_condition osd_file::openpty(ptr &file, std::string &name) noexcept
//============================================================
-// osd_open_udp_socket
-//============================================================
-
-std::error_condition osd_file::open_udp_socket(std::string const &path, uint32_t openflags, ptr &file, std::uint64_t &filesize) noexcept
-{
- return posix_open_udp_socket(path, openflags, file, filesize);
-}
-
-
-//============================================================
// osd_file::remove
//============================================================