diff options
author | jilles <jilles@FreeBSD.org> | 2009-12-24 20:55:14 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2009-12-24 20:55:14 +0000 |
commit | e7ce62d8acb0a14c00ffed8f498a50f8d749e2a5 (patch) | |
tree | 4547f5e8c738e8561800ad304ef9bee3b4b59ac4 /bin/sh/error.h | |
parent | 62ca5a5574d63235ad6f14c3ae38f880dc4eaa63 (diff) | |
download | FreeBSD-src-e7ce62d8acb0a14c00ffed8f498a50f8d749e2a5.zip FreeBSD-src-e7ce62d8acb0a14c00ffed8f498a50f8d749e2a5.tar.gz |
sh: Add some __dead2 to indicate functions that do not return.
Diffstat (limited to 'bin/sh/error.h')
-rw-r--r-- | bin/sh/error.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/sh/error.h b/bin/sh/error.h index 38488c2..8b64fe6 100644 --- a/bin/sh/error.h +++ b/bin/sh/error.h @@ -78,10 +78,10 @@ extern volatile sig_atomic_t intpending; #define CLEAR_PENDING_INT intpending = 0 #define int_pending() intpending -void exraise(int); +void exraise(int) __dead2; void onint(void); -void error(const char *, ...) __printf0like(1, 2); -void exerror(int, const char *, ...) __printf0like(2, 3); +void error(const char *, ...) __printf0like(1, 2) __dead2; +void exerror(int, const char *, ...) __printf0like(2, 3) __dead2; /* |