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 . --- proc/main.c | 1 - 1 file changed, 1 deletion(-) (limited to 'proc/main.c') diff --git a/proc/main.c b/proc/main.c index 0a6f9916..371e0461 100644 --- a/proc/main.c +++ b/proc/main.c @@ -157,7 +157,6 @@ main (int argc, char **argv, char **envp) void *genport; process_t startup_port; mach_port_t startup; - char **original_argv; struct argp argp = { options, parse_opt, 0, "Hurd process server" }; argp_parse (&argp, argc, argv, 0, 0, 0); -- cgit v1.2.3