aboutsummaryrefslogtreecommitdiff
path: root/libbutl/fdstream.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-02-12 21:42:20 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-02-12 21:42:20 +0300
commit282dce564a6cd33469f6b82ce94582bc4d9121be (patch)
tree3e8dceb6e0489bdddbd15cac22365a5ed6ca68a4 /libbutl/fdstream.cxx
parent5fb6e5041b65150ec1c78d5e39caeb23e2f9a531 (diff)
Rename fdnull() to fdopen_null()
Diffstat (limited to 'libbutl/fdstream.cxx')
-rw-r--r--libbutl/fdstream.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbutl/fdstream.cxx b/libbutl/fdstream.cxx
index 365174d..b58240c 100644
--- a/libbutl/fdstream.cxx
+++ b/libbutl/fdstream.cxx
@@ -1217,7 +1217,7 @@ namespace butl
}
auto_fd
- fdnull ()
+ fdopen_null ()
{
int fd (open ("/dev/null", O_RDWR | O_CLOEXEC));
@@ -1483,7 +1483,7 @@ namespace butl
}
auto_fd
- fdnull (bool temp)
+ fdopen_null (bool temp)
{
// No need to translate \r\n before sending it to void.
//