From dd699a3e07422d6135575d35b14927cd260ef32e Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Wed, 17 Mar 2021 12:11:07 +0200 Subject: 13682 libc: '_getcontext' specifies less restrictive attribute than its target Reviewed by: Robert Mustacchi Approved by: Gordon Ross --- usr/src/lib/libc/sparc/gen/getctxt.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'usr/src/lib/libc/sparc') 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 #include +#include "libc.h" + +#pragma weak _getcontext = getcontext int getcontext(ucontext_t *ucp) -- cgit v1.2.3