summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/sparc
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2021-03-17 12:11:07 +0200
committerToomas Soome <tsoome@me.com>2021-04-01 19:52:11 +0300
commitdd699a3e07422d6135575d35b14927cd260ef32e (patch)
tree5e00933da52e9ed560773b5dabeeab3059696874 /usr/src/lib/libc/sparc
parent4ba84af54d7e87f645088b6bb6f9baac08e77373 (diff)
downloadillumos-joyent-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/sparc')
-rw-r--r--usr/src/lib/libc/sparc/gen/getctxt.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/usr/src/lib/libc/sparc/gen/getctxt.c b/usr/src/lib/libc/sparc/gen/getctxt.c
index 3213955108..317a3f92ec 100644
--- a/usr/src/lib/libc/sparc/gen/getctxt.c
+++ b/usr/src/lib/libc/sparc/gen/getctxt.c
@@ -25,16 +25,15 @@
*/
/* Copyright (c) 1988 AT&T */
-/* All Rights Reserved */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#pragma weak _getcontext = getcontext
+/* All Rights Reserved */
#include "lint.h"
#include "thr_uberdata.h"
#include <ucontext.h>
#include <sys/types.h>
+#include "libc.h"
+
+#pragma weak _getcontext = getcontext
int
getcontext(ucontext_t *ucp)