summaryrefslogtreecommitdiffstats
path: root/usr.bin/at/panic.h
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-01-13 20:21:08 +0000
committermike <mike@FreeBSD.org>2002-01-13 20:21:08 +0000
commit2624e483f082b443613da8ffb57521327188691e (patch)
tree779aff2092ab904508f6c8ce32c0d80c726f44f7 /usr.bin/at/panic.h
parent62ca6901d83420a325a86af3149e5835bc7d814c (diff)
downloadFreeBSD-src-2624e483f082b443613da8ffb57521327188691e.zip
FreeBSD-src-2624e483f082b443613da8ffb57521327188691e.tar.gz
Implement the POSIX 1003.1-2001 -r and -t options in at(1). Fix some
minor issues in the rest of the source and manual. Submitted by: Joe Halpin <joe.halpin@attbi.com> Obtained from: touch(1) (partially) MFC after: 1 month
Diffstat (limited to 'usr.bin/at/panic.h')
-rw-r--r--usr.bin/at/panic.h22
1 files changed, 4 insertions, 18 deletions
diff --git a/usr.bin/at/panic.h b/usr.bin/at/panic.h
index ff6c110..832de83 100644
--- a/usr.bin/at/panic.h
+++ b/usr.bin/at/panic.h
@@ -25,22 +25,8 @@
* $FreeBSD$
*/
-#ifdef __FreeBSD__
-#define __NORETURN
-#endif
+#include <sys/cdefs.h>
-void
-#ifdef __GNUC__
-__NORETURN
-#endif
-panic(const char *a);
-void
-#ifdef __GNUC__
-__NORETURN
-#endif
-perr(const char *a);
-void
-#ifdef __GNUC__
-__NORETURN
-#endif
-usage(void);
+void panic(const char *a) __dead2;
+void perr(const char *a) __dead2;
+void usage(void) __dead2;
OpenPOWER on IntegriCloud