aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2014-12-06 10:05:07 +0000
committerXin LI <delphij@FreeBSD.org>2014-12-06 10:05:07 +0000
commitbbb29a3c0f2c4565eff6fda70426807b6ed97f8b (patch)
treea536d3ab306f88d9954ae59ff291b712b3e1a7e9
parent54f76dcb4aba6e13af6d80f48b5ab96dc347666d (diff)
parent3d7f2224b8cdeb33cf93bcc84406a02773acb123 (diff)
downloadsrc-bbb29a3c0f2c4565eff6fda70426807b6ed97f8b.tar.gz
src-bbb29a3c0f2c4565eff6fda70426807b6ed97f8b.zip
MFV r275536:
Illumos issue: 3363 Mark non-returning functions in ctftools MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=275563
-rw-r--r--cddl/contrib/opensolaris/tools/ctf/cvt/ctftools.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cddl/contrib/opensolaris/tools/ctf/cvt/ctftools.h b/cddl/contrib/opensolaris/tools/ctf/cvt/ctftools.h
index 9b2ee3d7565c..11885002ee84 100644
--- a/cddl/contrib/opensolaris/tools/ctf/cvt/ctftools.h
+++ b/cddl/contrib/opensolaris/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
@@ -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 *, ...);