about summary refs log tree commit diff
path: root/src/libstddjb/xpathexec_fromenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/xpathexec_fromenv.c')
-rw-r--r--src/libstddjb/xpathexec_fromenv.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/libstddjb/xpathexec_fromenv.c b/src/libstddjb/xpathexec_fromenv.c
deleted file mode 100644
index c434331..0000000
--- a/src/libstddjb/xpathexec_fromenv.c
+++ /dev/null
@@ -1,12 +0,0 @@
-/* ISC license. */
-
-#include <errno.h>
-
-#include <skalibs/djbunix.h>
-#include <skalibs/strerr2.h>
-
-void xpathexec_fromenv (char const *const *argv, char const *const *envp, size_t envlen)
-{
-  pathexec_fromenv(argv, envp, envlen) ;
-  strerr_dieexec(errno == ENOENT ? 127 : 126, argv[0]) ;
-}