2001-12-02 Roland McGrath <roland@frob.com>

* hurd/hurd.h (__hurd_fail): Add `break;' to silence new gcc-3 warning.
	Reported by Jeff Bailey <jbailey@nisa.net>.
	* hurd/hurd.h (_hurd_umask): Remove volatile qualifier from decl.
	Reported by Jeff Bailey <jbailey@nisa.net>.
This commit is contained in:
Roland McGrath 2002-01-09 04:16:50 +00:00
parent fb0f5abcb4
commit c9db034125

View File

@ -61,13 +61,16 @@ __hurd_fail (error_t err)
case KERN_NO_SPACE:
err = ENOMEM;
break;
case KERN_INVALID_ARGUMENT:
err = EINVAL;
break;
case 0:
return 0;
default:
break;
}
errno = err;
@ -79,7 +82,7 @@ __hurd_fail (error_t err)
extern int _hurd_exec_flags; /* Flags word passed in exec_startup. */
extern struct hurd_port *_hurd_ports;
extern unsigned int _hurd_nports;
extern volatile mode_t _hurd_umask;
extern mode_t _hurd_umask;
extern sigset_t _hurdsig_traced;
/* Shorthand macro for internal library code referencing _hurd_ports (see