summaryrefslogtreecommitdiff
path: root/src/basic/util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-26 01:13:11 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-26 01:24:39 +0100
commit4d0d3d41d21f34f28ee67b8b1952af88ada7abaf (patch)
tree82303ad33953a655b9eaa75324e929a38146dff8 /src/basic/util.c
parent2583fbea8e762d2e915582af60560f884d5093f5 (diff)
process-util: move more process related calls to process-util.[ch]
Diffstat (limited to 'src/basic/util.c')
-rw-r--r--src/basic/util.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/basic/util.c b/src/basic/util.c
index 2129d46aef..d5227aa6d0 100644
--- a/src/basic/util.c
+++ b/src/basic/util.c
@@ -4016,16 +4016,6 @@ int read_attr_path(const char *p, unsigned *ret) {
return read_attr_fd(fd, ret);
}
-void sigkill_wait(pid_t *pid) {
- if (!pid)
- return;
- if (*pid <= 1)
- return;
-
- if (kill(*pid, SIGKILL) > 0)
- (void) wait_for_terminate(*pid, NULL);
-}
-
int syslog_parse_priority(const char **p, int *priority, bool with_facility) {
int a = 0, b = 0, c = 0;
int k;