summaryrefslogtreecommitdiff
path: root/src/libstddjb/openwritevnclose_unsafe_internal_deprecated.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-09-11 16:03:44 +0000
committerLaurent Bercot <ska@appnovation.com>2023-09-11 16:03:44 +0000
commit7334832e987d7b8d2d3a6c0a485233c8777b4b3d (patch)
treecc0eddf0449346b6e90b49fc3bb65b3dae6a3c4e /src/libstddjb/openwritevnclose_unsafe_internal_deprecated.c
parent822bf267121b8e380037da3db4ad31aca34fc7c7 (diff)
downloadskalibs-7334832e987d7b8d2d3a6c0a485233c8777b4b3d.tar.xz
Remove deprecated *writeclose_unsafe stuff
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libstddjb/openwritevnclose_unsafe_internal_deprecated.c')
-rw-r--r--src/libstddjb/openwritevnclose_unsafe_internal_deprecated.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/libstddjb/openwritevnclose_unsafe_internal_deprecated.c b/src/libstddjb/openwritevnclose_unsafe_internal_deprecated.c
deleted file mode 100644
index b81881d..0000000
--- a/src/libstddjb/openwritevnclose_unsafe_internal_deprecated.c
+++ /dev/null
@@ -1,13 +0,0 @@
-/* ISC license. */
-
-#include <skalibs/devino.h>
-#include <skalibs/djbunix.h>
-
-int openwritevnclose_unsafe_internal (char const *fn, struct iovec const *v, unsigned int vlen, dev_t *dev, ino_t *ino, int dosync)
-{
- devino di ;
- if (!openwritevnclose_unsafe5(fn, v, vlen, dev || ino ? &di : 0, !!dosync)) return 0 ;
- if (dev) *dev = di.dev ;
- if (ino) *ino = di.ino ;
- return 1 ;
-}