basic: include only what we use

This is a cleaned up result of running iwyu but without forward
declarations on src/basic.
This commit is contained in:
Thomas Hindoe Paaboel Andersen
2015-11-30 21:51:03 +01:00
parent bca27e1729
commit 11c3a36649
128 changed files with 481 additions and 135 deletions
+11 -1
View File
@@ -19,12 +19,22 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include <errno.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
#include "alloc-util.h"
#include "escape.h"
#include "extract-word.h"
#include "log.h"
#include "macro.h"
#include "string-util.h"
#include "utf8.h"
#include "util.h"
int extract_first_word(const char **p, char **ret, const char *separators, ExtractFlags flags) {
_cleanup_free_ char *s = NULL;