1228879Sed/*-
2228879Sed * Copyright (c) 2012 Ed Schouten <ed@FreeBSD.org>
3228879Sed * All rights reserved.
4228879Sed *
5228879Sed * Redistribution and use in source and binary forms, with or without
6228879Sed * modification, are permitted provided that the following conditions
7228879Sed * are met:
8228879Sed * 1. Redistributions of source code must retain the above copyright
9228879Sed *    notice, this list of conditions and the following disclaimer.
10228879Sed * 2. Redistributions in binary form must reproduce the above copyright
11228879Sed *    notice, this list of conditions and the following disclaimer in the
12228879Sed *    documentation and/or other materials provided with the distribution.
13228879Sed *
14228879Sed * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15228879Sed * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16228879Sed * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17228879Sed * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18228879Sed * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19228879Sed * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20228879Sed * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21228879Sed * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22228879Sed * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23228879Sed * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24228879Sed * SUCH DAMAGE.
25228879Sed *
26228879Sed * $FreeBSD$
27228879Sed */
28228879Sed
29229437Sed#ifdef __cplusplus
30229437Sed#error "<stdnoreturn.h> cannot be used in combination with C++11."
31229437Sed#endif
32229437Sed
33228879Sed#ifndef noreturn
34228879Sed
35228879Sed#include <sys/cdefs.h>
36228879Sed#define	noreturn		_Noreturn
37228879Sed
38228879Sed#endif /* !noreturn */
39