summaryrefslogtreecommitdiff
path: root/src/execute.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-05-23 21:37:45 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-15 15:50:26 +0200
commit1365b53ff9a53c94c88bbf4ec5e5782edb75e663 (patch)
tree6871b628da2d32729957b1d4a7f72a04f68b7ca1 /src/execute.h
parent7c3d67eff3e165b50084bf9c3269ec582d90c403 (diff)
execute: fix function prototype
Diffstat (limited to 'src/execute.h')
-rw-r--r--src/execute.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/execute.h b/src/execute.h
index 4ed79f0d8b..55bae24a21 100644
--- a/src/execute.h
+++ b/src/execute.h
@@ -211,10 +211,10 @@ void exec_status_exit(ExecStatus *s, ExecContext *context, pid_t pid, int code,
void exec_status_dump(ExecStatus *s, FILE *f, const char *prefix);
const char* exec_output_to_string(ExecOutput i);
-int exec_output_from_string(const char *s);
+ExecOutput exec_output_from_string(const char *s);
const char* exec_input_to_string(ExecInput i);
-int exec_input_from_string(const char *s);
+ExecInput exec_input_from_string(const char *s);
const char *kill_mode_to_string(KillMode k);
KillMode kill_mode_from_string(const char *s);