Date: Fri, 23 Jan 2015 00:36:19 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r277551 - stable/10/cddl/contrib/opensolaris/tools/ctf/cvt Message-ID: <201501230036.t0N0aJFQ015507@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Fri Jan 23 00:36:17 2015 New Revision: 277551 URL: https://svnweb.freebsd.org/changeset/base/277551 Log: MFC r275563: MFV r275536: Illumos issue: 3363 Mark non-returning functions in ctftools Modified: stable/10/cddl/contrib/opensolaris/tools/ctf/cvt/ctftools.h Directory Properties: stable/10/ (props changed) Modified: stable/10/cddl/contrib/opensolaris/tools/ctf/cvt/ctftools.h ============================================================================== --- stable/10/cddl/contrib/opensolaris/tools/ctf/cvt/ctftools.h Fri Jan 23 00:35:47 2015 (r277550) +++ stable/10/cddl/contrib/opensolaris/tools/ctf/cvt/ctftools.h Fri Jan 23 00:36:17 2015 (r277551) @@ -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 @@ -435,8 +435,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(const char *, ...); -void aborterr(const char *, ...); +void terminate(const char *, ...) __NORETURN; +void aborterr(const char *, ...) __NORETURN; void set_terminate_cleanup(void (*)(void)); void elfterminate(const char *, const char *, ...); void warning(const char *, ...);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501230036.t0N0aJFQ015507>