diff options
author | Erik Cederstrand <erik@cederstrand.dk> | 2014-11-10 16:33:38 -0500 |
---|---|---|
committer | Richard Lowe <richlowe@richlowe.net> | 2014-11-12 14:53:00 -0500 |
commit | a6bde1a23b60f140c7ed78df979c2e22b1ed9b2c (patch) | |
tree | 680fd42260165b40eda23aee9c88b3eda879a23a /usr/src/tools/ctf/cvt | |
parent | 85e6b6747d07050e01ec91acef2453655821f9ab (diff) | |
download | illumos-joyent-a6bde1a23b60f140c7ed78df979c2e22b1ed9b2c.tar.gz |
3363 Mark non-returning functions in ctftools
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Approved by: Albert Lee <trisk@omniti.com>
Diffstat (limited to 'usr/src/tools/ctf/cvt')
-rw-r--r-- | usr/src/tools/ctf/cvt/ctftools.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/tools/ctf/cvt/ctftools.h b/usr/src/tools/ctf/cvt/ctftools.h index 991f3bc921..a9519dc06c 100644 --- a/usr/src/tools/ctf/cvt/ctftools.h +++ b/usr/src/tools/ctf/cvt/ctftools.h @@ -26,8 +26,6 @@ #ifndef _CTFTOOLS_H #define _CTFTOOLS_H -#pragma ident "%Z%%M% %I% %E% SMI" - /* * Functions and data structures used in the manipulation of stabs and CTF data */ @@ -39,6 +37,8 @@ #include <gelf.h> #include <pthread.h> +#include <sys/ccompile.h> + #ifdef __cplusplus extern "C" { #endif @@ -434,8 +434,8 @@ int streq(const char *, const char *); int findelfsecidx(Elf *, const char *, const char *); size_t elf_ptrsz(Elf *); char *mktmpname(const char *, const char *); -void terminate(char *, ...); -void aborterr(char *, ...); +void terminate(char *, ...) __NORETURN; +void aborterr(char *, ...) __NORETURN; void set_terminate_cleanup(void (*)()); void elfterminate(const char *, const char *, ...); void warning(char *, ...); |