aboutsummaryrefslogtreecommitdiffstats
path: root/src/daemon.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-29 05:27:38 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-29 05:27:38 +0100
commitb7b29f3db454fc8e2aaa4297b9e03d9637e99a57 (patch)
tree21709944cca3218bed17d2613972cccde3260a7c /src/daemon.c
parentm (diff)
downloadsat-b7b29f3db454fc8e2aaa4297b9e03d9637e99a57.tar.gz
sat-b7b29f3db454fc8e2aaa4297b9e03d9637e99a57.tar.bz2
sat-b7b29f3db454fc8e2aaa4297b9e03d9637e99a57.tar.xz
run_job_or_hook is not static
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r--src/daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon.c b/src/daemon.c
index 56fb682..d262749 100644
--- a/src/daemon.c
+++ b/src/daemon.c
@@ -263,7 +263,7 @@ fail:
* @param hook The hook, `NULL` to run the job.
* @return 0 on success, -1 on error, 1 if the child failed.
*/
-static int
+int
run_job_or_hook(struct job *job, const char *hook)
{
pid_t pid;