From 5d74db8c245cbc0da0fcfce3134ea1a0726fa8f6 Mon Sep 17 00:00:00 2001 From: bjh21 Date: Wed, 26 Jul 2006 20:50:56 +0000 Subject: [PATCH] Add __attribute__((__noreturn__)) to kernel longjmp(), like the userland one already has. This makes arch/acorn26/acorn26/cpu.c compile with GCC 4. --- sys/sys/systm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/sys/systm.h b/sys/sys/systm.h index 535a2fe17176..f692f9a87851 100644 --- a/sys/sys/systm.h +++ b/sys/sys/systm.h @@ -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 @@ -379,7 +379,7 @@ int uiomove_frombuf(void *, size_t, struct uio *); #ifdef _KERNEL int setjmp(label_t *); -void longjmp(label_t *); +void longjmp(label_t *) __attribute__((__noreturn__)); #endif void consinit(void);