From dafd420fc9ee9c76bdbb015068713700b2a16cc4 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 11 Jul 1999 01:39:03 +0000 Subject: 1999-07-10 Roland McGrath * pids.c: Add #include for munmap decl. * showtrans.c: Likewise. * login.c: Likewise. * storeread.c: Likewise. * msgport.c: Likewise. --- utils/msgport.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'utils/msgport.c') diff --git a/utils/msgport.c b/utils/msgport.c index 5f494e1c..59362d87 100644 --- a/utils/msgport.c +++ b/utils/msgport.c @@ -31,6 +31,7 @@ #include #include #include "pids.h" +#include /* From libc (not in hurd.h) */ char * @@ -428,7 +429,7 @@ cmd_umask (pid_t pid, mach_port_t msgport, int argc, char *argv[]) umask = strtol(argv[0], 0, 8); err = msg_set_init_int (msgport, task, INIT_UMASK, umask); } - else + else { err = msg_get_init_int (msgport, task, INIT_UMASK, &umask); if (!err) @@ -492,7 +493,7 @@ static const struct argp_option cmd_options[] = command line (probably the first argument for this command). STATE is the argp parser state as used in parse_cmd_opt. */ static error_t -add_cmd (cmd_func_t func, size_t minargs, size_t maxargs, +add_cmd (cmd_func_t func, size_t minargs, size_t maxargs, char *arg, struct argp_state *state) { cmd_t *cmd; -- cgit v1.2.3