aboutsummaryrefslogtreecommitdiffstats
path: root/libexec_input_text_copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec_input_text_copy.c')
-rw-r--r--libexec_input_text_copy.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/libexec_input_text_copy.c b/libexec_input_text_copy.c
index da12bfd..cabf809 100644
--- a/libexec_input_text_copy.c
+++ b/libexec_input_text_copy.c
@@ -3,15 +3,7 @@
#ifndef TEST
-int
-libexec_input_text_copy(struct libexec_command *cmd, int fd, const char *text)
-{
- if (!text) {
- errno = EINVAL;
- return -1;
- }
- return libexec_input_data_copy(cmd, fd, text, strlen(text));
-}
+extern inline int libexec_input_text_copy(struct libexec_command *, int, const char *);
#else