summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/inc/libc.h
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2020-01-04 14:53:59 +0200
committerToomas Soome <tsoome@me.com>2020-01-14 18:49:00 +0200
commitdd2ed563fd8f7f157d5cd583cae81fef585c2ffc (patch)
treeb964ec020dedaef4bdff56a9a90a4c1818b74929 /usr/src/lib/libc/inc/libc.h
parente830fb12ed60bbd91c87459b169b5d1cc6ef0b9e (diff)
downloadillumos-gate-dd2ed563fd8f7f157d5cd583cae81fef585c2ffc.tar.gz
12151 libc: specifies less restrictive attribute than its target
Reviewed by: Matthias Scheler <mscheler@tintri.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/lib/libc/inc/libc.h')
-rw-r--r--usr/src/lib/libc/inc/libc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr/src/lib/libc/inc/libc.h b/usr/src/lib/libc/inc/libc.h
index 3d440ab2e2..448523df01 100644
--- a/usr/src/lib/libc/inc/libc.h
+++ b/usr/src/lib/libc/inc/libc.h
@@ -50,6 +50,7 @@
#include <wchar.h>
#include <wctype.h>
#include <libnvpair.h>
+#include <setjmp.h>
#ifdef __cplusplus
extern "C" {
@@ -61,6 +62,7 @@ extern long _sysconfig(int);
extern int kill(pid_t pid, int sig);
extern int primary_link_map;
+extern void _thr_exit(void *) __NORETURN;
extern int thr_main(void);
extern int thr_kill(thread_t tid, int sig);
extern thread_t thr_self(void);
@@ -195,6 +197,11 @@ extern char *getusershell(void);
extern int __sigaction(int, const struct sigaction *, struct sigaction *);
/*
+ * defined in siglongjmp.c
+ */
+extern void _siglongjmp(sigjmp_buf, int) __NORETURN;
+
+/*
* defined in _getsp.s
*/
extern greg_t _getsp(void);