Date: Sat, 6 Dec 2014 00:01:20 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r275536 - vendor/illumos/dist/tools/ctf/cvt Message-ID: <201412060001.sB601Kt9021400@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Sat Dec 6 00:01:19 2014 New Revision: 275536 URL: https://svnweb.freebsd.org/changeset/base/275536 Log: 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> Author: Erik Cederstrand <erik@cederstrand.dk> illumos/illumos-gate@a6bde1a23b60f140c7ed78df979c2e22b1ed9b2c Modified: vendor/illumos/dist/tools/ctf/cvt/ctftools.h Modified: vendor/illumos/dist/tools/ctf/cvt/ctftools.h ============================================================================== --- vendor/illumos/dist/tools/ctf/cvt/ctftools.h Fri Dec 5 23:55:44 2014 (r275535) +++ vendor/illumos/dist/tools/ctf/cvt/ctftools.h Sat Dec 6 00:01:19 2014 (r275536) @@ -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 *, ...);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412060001.sB601Kt9021400>