panic.h revision 7767
17767Sache/* 27767Sache * panic.h - header for at(1) 37767Sache * Copyright (C) 1993 Thomas Koenig 4941Snate * 5941Snate * Redistribution and use in source and binary forms, with or without 6941Snate * modification, are permitted provided that the following conditions 7941Snate * are met: 8941Snate * 1. Redistributions of source code must retain the above copyright 9941Snate * notice, this list of conditions and the following disclaimer. 10941Snate * 2. The name of the author(s) may not be used to endorse or promote 11941Snate * products derived from this software without specific prior written 12941Snate * permission. 13941Snate * 14941Snate * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR 15941Snate * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 16941Snate * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 17941Snate * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18941Snate * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19941Snate * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20941Snate * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21941Snate * THEORY OF LIABILITY, WETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22941Snate * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23941Snate * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24941Snate */ 25941Snate 267767Sache#ifdef __FreeBSD__ 277767Sache#define __NORETURN 287767Sache#endif 297767Sache 307767Sachevoid 317767Sache#ifdef __GNUC__ 327767Sache__NORETURN 337767Sache#endif 347767Sachepanic(char *a); 357767Sachevoid 367767Sache#ifdef __GNUC__ 377767Sache__NORETURN 387767Sache#endif 397767Sacheperr(char *a); 407767Sachevoid 417767Sache#ifdef __GNUC__ 427767Sache__NORETURN 437767Sache#endif 447767Sacheusage(void); 45