Project

General

Profile

Bug #3363 ยป ctf.txt

Erik Cederstrand, 2012-11-14 09:16 PM

 
1
Index: head/cddl/contrib/opensolaris/tools/ctf/cvt/ctftools.h
2
===================================================================
3
--- head/cddl/contrib/opensolaris/tools/ctf/cvt/ctftools.h	(revision 241876)
4
+++ head/cddl/contrib/opensolaris/tools/ctf/cvt/ctftools.h	(working copy)
5
@@ -435,8 +435,8 @@
6
 int findelfsecidx(Elf *, const char *, const char *);
7
 size_t elf_ptrsz(Elf *);
8
 char *mktmpname(const char *, const char *);
9
-void terminate(const char *, ...);
10
-void aborterr(const char *, ...);
11
+void terminate(const char *, ...) __attribute__((__noreturn__));
12
+void aborterr(const char *, ...) __attribute__((__noreturn__));
13
 void set_terminate_cleanup(void (*)(void));
14
 void elfterminate(const char *, const char *, ...);
15
 void warning(const char *, ...);
    (1-1/1)