From 2ed669b5b1da77e80fff6dc2f72f11e266479a8c Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 5 Mar 2018 01:04:11 +0100 Subject: Fix warnings * libdiskfs/boot-start.c (diskfs_start_bootstrap): Fix printf format. * libfshelp/delegate.c: Include and . * libfshelp/start-translator-long.c: Include . * libshouldbeinlibc/ugids-verify-auth.c (server_verify_make_auth): Fix prototypes for password_check_group and password_check_user. * libstore/argp.c: Include . * libstore/task.c: Include . * exec/exec.c: Include . * libbpf/bpf_impl.c: Include . * proc/info.c (S_proc_getloginpids): Remove local variables leader_task and leader_sub. * proc/main.c (main): Remove local variable original_argv. * boot/boot.c (task_died, S_mach_notify_new_task): Fix printf format. * exec/elfcore.c: Include and . * trans/crash.c: Include . * trans/random.c: Include . * utils/login.c: Include . * utils/id.c: Include . * utils/devprobe.c: Include . * utils/addauth.c: Include . * utils/frobauth-mod.c: Include . * utils/storeread.c: Include . * utils/msgport.c: Include . * sutils/clookup.c (file_name_lookup_carefully): Fix lookup function prototype, make head and tail const. * utils/rpcscan.c: Include . * sutils/bless.c: Include . * fstests/fstests.c: Include . * startup/startup.c (argz_task_insert_right): Fix printf format. * init/init.c: Include . --- libfshelp/delegate.c | 2 ++ libfshelp/start-translator-long.c | 1 + 2 files changed, 3 insertions(+) (limited to 'libfshelp') diff --git a/libfshelp/delegate.c b/libfshelp/delegate.c index a44310f0..d8a9e497 100644 --- a/libfshelp/delegate.c +++ b/libfshelp/delegate.c @@ -19,6 +19,8 @@ #include #include +#include +#include #include #include #include diff --git a/libfshelp/start-translator-long.c b/libfshelp/start-translator-long.c index 707b59ef..3a0a115b 100644 --- a/libfshelp/start-translator-long.c +++ b/libfshelp/start-translator-long.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3