panic.h revision 87208
110154Sache/*
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.
1710154Sache * IN NO EVENT SHALL THE AUTHOR(S) 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.
2487208Smarkm *
2587208Smarkm * $FreeBSD: head/usr.bin/at/panic.h 87208 2001-12-02 12:26:18Z markm $
26941Snate */
27941Snate
287767Sache#ifdef __FreeBSD__
297767Sache#define __NORETURN
307767Sache#endif
317767Sache
327767Sachevoid
337767Sache#ifdef __GNUC__
347767Sache__NORETURN
357767Sache#endif
3687208Smarkmpanic(const char *a);
377767Sachevoid
387767Sache#ifdef __GNUC__
397767Sache__NORETURN
407767Sache#endif
4187208Smarkmperr(const char *a);
427767Sachevoid
437767Sache#ifdef __GNUC__
447767Sache__NORETURN
457767Sache#endif
467767Sacheusage(void);
47