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