aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-05 01:04:11 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-05 02:04:13 +0100
commit2ed669b5b1da77e80fff6dc2f72f11e266479a8c (patch)
tree511a122e0935121c3025fc62dc0de377b9644c6c /utils
parent4ddc6192b9ba2b0df88e17378cd0e3f67d3b04a4 (diff)
downloadhurd-2ed669b5b1da77e80fff6dc2f72f11e266479a8c.tar.gz
hurd-2ed669b5b1da77e80fff6dc2f72f11e266479a8c.tar.bz2
hurd-2ed669b5b1da77e80fff6dc2f72f11e266479a8c.zip
Fix warnings
* libdiskfs/boot-start.c (diskfs_start_bootstrap): Fix printf format. * libfshelp/delegate.c: Include <alloca.h> and <stdlib.h>. * libfshelp/start-translator-long.c: Include <stdlib.h>. * libshouldbeinlibc/ugids-verify-auth.c (server_verify_make_auth): Fix prototypes for password_check_group and password_check_user. * libstore/argp.c: Include <stdlib.h>. * libstore/task.c: Include <stdlib.h>. * exec/exec.c: Include <mach/vm_param.h>. * libbpf/bpf_impl.c: Include <stdlib.h>. * 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 <alloca.h> and <mach/vm_param.h>. * trans/crash.c: Include <hurd/msg.h>. * trans/random.c: Include <signal.h>. * utils/login.c: Include <signal.h>. * utils/id.c: Include <hurd/msg.h>. * utils/devprobe.c: Include <stdlib.h>. * utils/addauth.c: Include <hurd/msg.h>. * utils/frobauth-mod.c: Include <hurd/msg.h>. * utils/storeread.c: Include <stdlib.h>. * utils/msgport.c: Include <hurd/msg.h>. * sutils/clookup.c (file_name_lookup_carefully): Fix lookup function prototype, make head and tail const. * utils/rpcscan.c: Include <stdlib.h>. * sutils/bless.c: Include <stdlib.h>. * fstests/fstests.c: Include <stdlib.h>. * startup/startup.c (argz_task_insert_right): Fix printf format. * init/init.c: Include <stdlib.h>.
Diffstat (limited to 'utils')
-rw-r--r--utils/addauth.c1
-rw-r--r--utils/devprobe.c1
-rw-r--r--utils/frobauth-mod.c1
-rw-r--r--utils/ids.c1
-rw-r--r--utils/login.c1
-rw-r--r--utils/msgport.c1
-rw-r--r--utils/rpcscan.c1
-rw-r--r--utils/storeread.c1
8 files changed, 8 insertions, 0 deletions
diff --git a/utils/addauth.c b/utils/addauth.c
index 0932a33f..83d66b62 100644
--- a/utils/addauth.c
+++ b/utils/addauth.c
@@ -27,6 +27,7 @@
#include <ugids.h>
#include <error.h>
#include <hurd.h>
+#include <hurd/msg.h>
#include <version.h>
#include "frobauth.h"
diff --git a/utils/devprobe.c b/utils/devprobe.c
index 69b15b29..d16e2161 100644
--- a/utils/devprobe.c
+++ b/utils/devprobe.c
@@ -19,6 +19,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <stdio.h>
+#include <stdlib.h>
#include <fcntl.h>
#include <argp.h>
diff --git a/utils/frobauth-mod.c b/utils/frobauth-mod.c
index 4464c18c..68cad134 100644
--- a/utils/frobauth-mod.c
+++ b/utils/frobauth-mod.c
@@ -23,6 +23,7 @@
#include <unistd.h>
#include <string.h>
#include <hurd.h>
+#include <hurd/msg.h>
#include <error.h>
#include "frobauth.h"
diff --git a/utils/ids.c b/utils/ids.c
index f8ad22c5..e8bee57d 100644
--- a/utils/ids.c
+++ b/utils/ids.c
@@ -27,6 +27,7 @@
#include <error.h>
#include <ugids.h>
#include <version.h>
+#include <hurd/msg.h>
const char *argp_program_version = STANDARD_HURD_VERSION (ids);
diff --git a/utils/login.c b/utils/login.c
index 8d0cf92a..b70ee8ad 100644
--- a/utils/login.c
+++ b/utils/login.c
@@ -34,6 +34,7 @@
#include <assert-backtrace.h>
#include <version.h>
#include <sys/mman.h>
+#include <signal.h>
#include <netinet/in.h>
#include <arpa/inet.h>
diff --git a/utils/msgport.c b/utils/msgport.c
index 06b7dc37..accdb644 100644
--- a/utils/msgport.c
+++ b/utils/msgport.c
@@ -21,6 +21,7 @@
02111-1307, USA. */
#include <hurd.h>
+#include <hurd/msg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/utils/rpcscan.c b/utils/rpcscan.c
index 3ddf791a..c5a8addc 100644
--- a/utils/rpcscan.c
+++ b/utils/rpcscan.c
@@ -30,6 +30,7 @@
#include <inttypes.h>
#include <stdbool.h>
#include <stddef.h>
+#include <stdlib.h>
#include <argz.h>
#include "msgids.h"
diff --git a/utils/storeread.c b/utils/storeread.c
index df381bec..2586a8c2 100644
--- a/utils/storeread.c
+++ b/utils/storeread.c
@@ -21,6 +21,7 @@
#include <argp.h>
#include <error.h>
#include <unistd.h>
+#include <stdlib.h>
#include <hurd.h>
#include <sys/fcntl.h>
#include <sys/mman.h>