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@a6bde1a23b
This commit is contained in:
parent
ca0bb972db
commit
3d7f2224b8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/vendor/illumos/dist/; revision=275536
@ -26,8 +26,6 @@
|
|||||||
#ifndef _CTFTOOLS_H
|
#ifndef _CTFTOOLS_H
|
||||||
#define _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
|
* Functions and data structures used in the manipulation of stabs and CTF data
|
||||||
*/
|
*/
|
||||||
@ -39,6 +37,8 @@
|
|||||||
#include <gelf.h>
|
#include <gelf.h>
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
||||||
|
#include <sys/ccompile.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
@ -434,8 +434,8 @@ int streq(const char *, const char *);
|
|||||||
int findelfsecidx(Elf *, const char *, const char *);
|
int findelfsecidx(Elf *, const char *, const char *);
|
||||||
size_t elf_ptrsz(Elf *);
|
size_t elf_ptrsz(Elf *);
|
||||||
char *mktmpname(const char *, const char *);
|
char *mktmpname(const char *, const char *);
|
||||||
void terminate(char *, ...);
|
void terminate(char *, ...) __NORETURN;
|
||||||
void aborterr(char *, ...);
|
void aborterr(char *, ...) __NORETURN;
|
||||||
void set_terminate_cleanup(void (*)());
|
void set_terminate_cleanup(void (*)());
|
||||||
void elfterminate(const char *, const char *, ...);
|
void elfterminate(const char *, const char *, ...);
|
||||||
void warning(char *, ...);
|
void warning(char *, ...);
|
||||||
|
Loading…
Reference in New Issue
Block a user