summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/amd64
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/amd64
parente830fb12ed60bbd91c87459b169b5d1cc6ef0b9e (diff)
downloadillumos-joyent-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/amd64')
-rw-r--r--usr/src/lib/libc/amd64/gen/siglongjmp.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr/src/lib/libc/amd64/gen/siglongjmp.c b/usr/src/lib/libc/amd64/gen/siglongjmp.c
index 07a89b485f..d71f40a034 100644
--- a/usr/src/lib/libc/amd64/gen/siglongjmp.c
+++ b/usr/src/lib/libc/amd64/gen/siglongjmp.c
@@ -24,15 +24,14 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#pragma weak _siglongjmp = siglongjmp
-
#include "lint.h"
#include <sys/types.h>
#include <sys/ucontext.h>
#include <setjmp.h>
#include <ucontext.h>
+#include "libc.h"
+
+#pragma weak _siglongjmp = siglongjmp
void
siglongjmp(sigjmp_buf env, int val)