From: Lennart Poettering Date: Mon, 23 May 2011 19:37:45 +0000 (+0200) Subject: execute: fix function prototype X-Git-Tag: v29~7 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=1365b53ff9a53c94c88bbf4ec5e5782edb75e663;p=elogind.git execute: fix function prototype --- diff --git a/src/execute.h b/src/execute.h index 4ed79f0d8..55bae24a2 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);