aboutsummaryrefslogtreecommitdiffstats
path: root/libexec_construct_command.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec_construct_command.c')
-rw-r--r--libexec_construct_command.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/libexec_construct_command.c b/libexec_construct_command.c
index 36b18f9..6fc91dc 100644
--- a/libexec_construct_command.c
+++ b/libexec_construct_command.c
@@ -3,16 +3,7 @@
#ifndef TEST
-int
-libexec_construct_command(struct libexec_command *cmd, const char *fmt, ...)
-{
- int ret;
- va_list args;
- va_start(args, fmt);
- ret = libexec_vconstruct_command(cmd, fmt, args);
- va_end(args);
- return ret;
-}
+extern inline int libexec_construct_command(struct libexec_command *, const char *, ...);
#else