aboutsummaryrefslogtreecommitdiffstats
path: root/libexec_pipe_commandsv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec_pipe_commandsv.c')
-rw-r--r--libexec_pipe_commandsv.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/libexec_pipe_commandsv.c b/libexec_pipe_commandsv.c
index ee96b7d..c1df257 100644
--- a/libexec_pipe_commandsv.c
+++ b/libexec_pipe_commandsv.c
@@ -3,18 +3,7 @@
#ifndef TEST
-int
-libexec_pipe_commandsv(enum libexec_pipe how, struct libexec_command *const *cmds)
-{
- size_t n = 0;
- if (!cmds) {
- errno = EINVAL;
- return -1;
- }
- while (cmds[n])
- n++;
- return libexec_pipe_commandsvn(how, cmds, n);
-}
+extern inline int libexec_pipe_commandsv(enum libexec_pipe, struct libexec_command *const *);
#else