diff options
author | Toomas Soome <tsoome@me.com> | 2021-03-17 12:11:07 +0200 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2021-04-01 19:52:11 +0300 |
commit | dd699a3e07422d6135575d35b14927cd260ef32e (patch) | |
tree | 5e00933da52e9ed560773b5dabeeab3059696874 /usr/src/lib/libc/inc/libc.h | |
parent | 4ba84af54d7e87f645088b6bb6f9baac08e77373 (diff) | |
download | illumos-gate-dd699a3e07422d6135575d35b14927cd260ef32e.tar.gz |
13682 libc: '_getcontext' specifies less restrictive attribute than its target
Reviewed by: Robert Mustacchi <rm@fingolfin.org>
Approved by: Gordon Ross <gordon.w.ross@gmail.com>
Diffstat (limited to 'usr/src/lib/libc/inc/libc.h')
-rw-r--r-- | usr/src/lib/libc/inc/libc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/src/lib/libc/inc/libc.h b/usr/src/lib/libc/inc/libc.h index 90a2859b33..98872ac161 100644 --- a/usr/src/lib/libc/inc/libc.h +++ b/usr/src/lib/libc/inc/libc.h @@ -222,6 +222,11 @@ extern int _so_getsockopt(int, int, int, char *, int *); extern int lsign(dl_t); /* + * defined in getctxt.c + */ +extern int _getcontext(ucontext_t *) __RETURNS_TWICE; + +/* * defined in ucontext.s */ extern int __getcontext(ucontext_t *); |