* hurd/hurd.h (__hurd_fail): Add `break;' to silence new gcc-3 warning.
Reported by Jeff Bailey <jbailey@nisa.net>. Reported by Jeff Bailey <jbailey@nisa.net>.
This commit is contained in:
parent
5ca3ec06e0
commit
4f904363e4
@ -1,6 +1,10 @@
|
||||
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>.
|
||||
|
||||
* mach/Makefile ($(objpfx)mach-syscalls.mk): Pass $(CFLAGS) to $(CC).
|
||||
* mach/Machrules ($(objpfx)%.udeps static pattern rule): Likewise.
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user