shutdown: unify shutdown.c's and async.c's sync() helper process

The helper processes are pretty much the same now, let's unify them
hence.
This commit is contained in:
Lennart Poettering
2017-12-25 11:48:21 +01:00
parent 4c253ed1ca
commit d00c263143
5 changed files with 13 additions and 18 deletions
+1 -1
View File
@@ -22,5 +22,5 @@
int asynchronous_job(void* (*func)(void *p), void *arg);
int asynchronous_sync(void);
int asynchronous_sync(pid_t *ret_pid);
int asynchronous_close(int fd);