From 7334832e987d7b8d2d3a6c0a485233c8777b4b3d Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 11 Sep 2023 16:03:44 +0000 Subject: Remove deprecated *writeclose_unsafe stuff Signed-off-by: Laurent Bercot --- src/libstddjb/openwritenclose_internal_deprecated.c | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 src/libstddjb/openwritenclose_internal_deprecated.c (limited to 'src/libstddjb/openwritenclose_internal_deprecated.c') diff --git a/src/libstddjb/openwritenclose_internal_deprecated.c b/src/libstddjb/openwritenclose_internal_deprecated.c deleted file mode 100644 index 89f8dd2..0000000 --- a/src/libstddjb/openwritenclose_internal_deprecated.c +++ /dev/null @@ -1,13 +0,0 @@ -/* ISC license. */ - -#include -#include - -int openwritenclose_internal (char const *fn, char const *s, size_t n, dev_t *dev, ino_t *ino, int dosync) -{ - devino di ; - if (!openwritenclose5(fn, s, n, dev || ino ? &di : 0, !!dosync)) return 0 ; - if (dev) *dev = di.dev ; - if (ino) *ino = di.ino ; - return 1 ; -} -- cgit v1.2.3