util-lib: split out printf() helpers to stdio-util.h

This commit is contained in:
Lennart Poettering
2015-10-27 13:25:57 +01:00
parent c7f1808add
commit 15a5e95075
28 changed files with 114 additions and 57 deletions
+1
View File
@@ -43,6 +43,7 @@
#include "rlimit-util.h"
#include "set.h"
#include "signal-util.h"
#include "stdio-util.h"
#include "string-util.h"
#include "strv.h"
#include "syslog-util.h"
+1
View File
@@ -28,6 +28,7 @@
#include "fd-util.h"
#include "io-util.h"
#include "parse-util.h"
#include "stdio-util.h"
#include "utf8.h"
#include "util.h"
#include "virt.h"
+4 -2
View File
@@ -30,6 +30,7 @@
#include "log.h"
#include "process-util.h"
#include "spawn-polkit-agent.h"
#include "stdio-util.h"
#include "util.h"
#ifdef ENABLE_POLKIT
@@ -78,8 +79,9 @@ void polkit_agent_close(void) {
return;
/* Inform agent that we are done */
kill(agent_pid, SIGTERM);
kill(agent_pid, SIGCONT);
(void) kill(agent_pid, SIGTERM);
(void) kill(agent_pid, SIGCONT);
(void) wait_for_terminate(agent_pid, NULL);
agent_pid = 0;
}