Add __attribute__((__noreturn__)) to kernel longjmp(), like the userland one

already has.  This makes arch/acorn26/acorn26/cpu.c compile with GCC 4.
This commit is contained in:
bjh21 2006-07-26 20:50:56 +00:00
parent 407a09df84
commit 5d74db8c24

View File

@ -1,4 +1,4 @@
/* $NetBSD: systm.h,v 1.187 2006/06/07 22:34:18 kardel Exp $ */ /* $NetBSD: systm.h,v 1.188 2006/07/26 20:50:56 bjh21 Exp $ */
/*- /*-
* Copyright (c) 1982, 1988, 1991, 1993 * Copyright (c) 1982, 1988, 1991, 1993
@ -379,7 +379,7 @@ int uiomove_frombuf(void *, size_t, struct uio *);
#ifdef _KERNEL #ifdef _KERNEL
int setjmp(label_t *); int setjmp(label_t *);
void longjmp(label_t *); void longjmp(label_t *) __attribute__((__noreturn__));
#endif #endif
void consinit(void); void consinit(void);