mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-18 22:50:07 +00:00
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:
parent
fb0f5abcb4
commit
c9db034125
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user