From: Michael Meissner Date: Fri, 1 Dec 2017 05:32:39 +0000 (+0000) Subject: _mulkc3.c (__mulkc3): Add forward declaration. X-Git-Tag: basepoints/gcc-9~2952 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6ae3512c0eeb31eced99d73229b898529635e786;p=thirdparty%2Fgcc.git _mulkc3.c (__mulkc3): Add forward declaration. 2017-11-30 Michael Meissner * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration. * config/rs6000/_divkc3.c (__divkc3): Likewise. From-SVN: r255289 --- diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index e103ace8fcf5..3d8b73e1c4a2 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,5 +1,8 @@ 2017-11-30 Michael Meissner + * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration. + * config/rs6000/_divkc3.c (__divkc3): Likewise. + PR libgcc/83112 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the correct type for all ifunc resolvers to silence -Wattribute-alias diff --git a/libgcc/config/rs6000/_divkc3.c b/libgcc/config/rs6000/_divkc3.c index 5c477f4d0b88..800389b169bd 100644 --- a/libgcc/config/rs6000/_divkc3.c +++ b/libgcc/config/rs6000/_divkc3.c @@ -37,6 +37,8 @@ typedef __complex float KCtype __attribute__ ((mode (KC))); #define __divkc3 __divkc3_sw #endif +extern KCtype __divkc3 (KFtype, KFtype, KFtype, KFtype); + KCtype __divkc3 (KFtype a, KFtype b, KFtype c, KFtype d) { diff --git a/libgcc/config/rs6000/_mulkc3.c b/libgcc/config/rs6000/_mulkc3.c index a88fae216613..c2687bee97b4 100644 --- a/libgcc/config/rs6000/_mulkc3.c +++ b/libgcc/config/rs6000/_mulkc3.c @@ -35,6 +35,8 @@ typedef __complex float KCtype __attribute__ ((mode (KC))); #define __mulkc3 __mulkc3_sw #endif +extern KCtype __mulkc3 (KFtype, KFtype, KFtype, KFtype); + KCtype __mulkc3 (KFtype a, KFtype b, KFtype c, KFtype d) {