parisc: avoid c23 'nullptr' idenitifier
Starting in c23, this is a reserved keyword, so in the future, using it will start causing build failures: arch/parisc/math-emu/frnd.c:36:23: error: expected ';', ',' or ')' before 'nullptr' Since I can't think of a good replacement name, add a leading underscore to the function argument to avoid this namespace conflict. Apparently all of these arguments are unused. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
94a1b19229
commit
cf15984886
@ -15,7 +15,7 @@
|
||||
* Double Floating-point Square Root
|
||||
*
|
||||
* External Interfaces:
|
||||
* dbl_fsqrt(srcptr,nullptr,dstptr,status)
|
||||
* dbl_fsqrt(srcptr,_nullptr,dstptr,status)
|
||||
*
|
||||
* Internal Interfaces:
|
||||
*
|
||||
@ -37,7 +37,7 @@
|
||||
unsigned int
|
||||
dbl_fsqrt(
|
||||
dbl_floating_point *srcptr,
|
||||
unsigned int *nullptr,
|
||||
unsigned int *_nullptr,
|
||||
dbl_floating_point *dstptr,
|
||||
unsigned int *status)
|
||||
{
|
||||
|
@ -16,8 +16,8 @@
|
||||
* Double Floating-point to Single Floating-point
|
||||
*
|
||||
* External Interfaces:
|
||||
* dbl_to_sgl_fcnvff(srcptr,nullptr,dstptr,status)
|
||||
* sgl_to_dbl_fcnvff(srcptr,nullptr,dstptr,status)
|
||||
* dbl_to_sgl_fcnvff(srcptr,_nullptr,dstptr,status)
|
||||
* sgl_to_dbl_fcnvff(srcptr,_nullptr,dstptr,status)
|
||||
*
|
||||
* Internal Interfaces:
|
||||
*
|
||||
@ -40,7 +40,7 @@
|
||||
int
|
||||
sgl_to_dbl_fcnvff(
|
||||
sgl_floating_point *srcptr,
|
||||
unsigned int *nullptr,
|
||||
unsigned int *_nullptr,
|
||||
dbl_floating_point *dstptr,
|
||||
unsigned int *status)
|
||||
{
|
||||
@ -127,7 +127,7 @@ sgl_to_dbl_fcnvff(
|
||||
int
|
||||
dbl_to_sgl_fcnvff(
|
||||
dbl_floating_point *srcptr,
|
||||
unsigned int *nullptr,
|
||||
unsigned int *_nullptr,
|
||||
sgl_floating_point *dstptr,
|
||||
unsigned int *status)
|
||||
{
|
||||
|
@ -15,10 +15,10 @@
|
||||
* Floating-point to Unsigned Fixed-point Converts
|
||||
*
|
||||
* External Interfaces:
|
||||
* dbl_to_dbl_fcnvfu(srcptr,nullptr,dstptr,status)
|
||||
* dbl_to_sgl_fcnvfu(srcptr,nullptr,dstptr,status)
|
||||
* sgl_to_dbl_fcnvfu(srcptr,nullptr,dstptr,status)
|
||||
* sgl_to_sgl_fcnvfu(srcptr,nullptr,dstptr,status)
|
||||
* dbl_to_dbl_fcnvfu(srcptr,_nullptr,dstptr,status)
|
||||
* dbl_to_sgl_fcnvfu(srcptr,_nullptr,dstptr,status)
|
||||
* sgl_to_dbl_fcnvfu(srcptr,_nullptr,dstptr,status)
|
||||
* sgl_to_sgl_fcnvfu(srcptr,_nullptr,dstptr,status)
|
||||
*
|
||||
* Internal Interfaces:
|
||||
*
|
||||
@ -45,7 +45,7 @@
|
||||
int
|
||||
sgl_to_sgl_fcnvfu(
|
||||
sgl_floating_point *srcptr,
|
||||
unsigned int *nullptr,
|
||||
unsigned int *_nullptr,
|
||||
unsigned int *dstptr,
|
||||
unsigned int *status)
|
||||
{
|
||||
@ -166,7 +166,7 @@ sgl_to_sgl_fcnvfu(
|
||||
int
|
||||
sgl_to_dbl_fcnvfu(
|
||||
sgl_floating_point *srcptr,
|
||||
unsigned int *nullptr,
|
||||
unsigned int *_nullptr,
|
||||
dbl_unsigned *dstptr,
|
||||
unsigned int *status)
|
||||
{
|
||||
@ -285,7 +285,7 @@ sgl_to_dbl_fcnvfu(
|
||||
*/
|
||||
/*ARGSUSED*/
|
||||
int
|
||||
dbl_to_sgl_fcnvfu (dbl_floating_point * srcptr, unsigned int *nullptr,
|
||||
dbl_to_sgl_fcnvfu (dbl_floating_point * srcptr, unsigned int *_nullptr,
|
||||
unsigned int *dstptr, unsigned int *status)
|
||||
{
|
||||
register unsigned int srcp1, srcp2, result;
|
||||
@ -408,7 +408,7 @@ dbl_to_sgl_fcnvfu (dbl_floating_point * srcptr, unsigned int *nullptr,
|
||||
*/
|
||||
/*ARGSUSED*/
|
||||
int
|
||||
dbl_to_dbl_fcnvfu (dbl_floating_point * srcptr, unsigned int *nullptr,
|
||||
dbl_to_dbl_fcnvfu (dbl_floating_point * srcptr, unsigned int *_nullptr,
|
||||
dbl_unsigned * dstptr, unsigned int *status)
|
||||
{
|
||||
register int src_exponent;
|
||||
|
@ -15,10 +15,10 @@
|
||||
* Floating-point to Unsigned Fixed-point Converts with Truncation
|
||||
*
|
||||
* External Interfaces:
|
||||
* dbl_to_dbl_fcnvfut(srcptr,nullptr,dstptr,status)
|
||||
* dbl_to_sgl_fcnvfut(srcptr,nullptr,dstptr,status)
|
||||
* sgl_to_dbl_fcnvfut(srcptr,nullptr,dstptr,status)
|
||||
* sgl_to_sgl_fcnvfut(srcptr,nullptr,dstptr,status)
|
||||
* dbl_to_dbl_fcnvfut(srcptr,_nullptr,dstptr,status)
|
||||
* dbl_to_sgl_fcnvfut(srcptr,_nullptr,dstptr,status)
|
||||
* sgl_to_dbl_fcnvfut(srcptr,_nullptr,dstptr,status)
|
||||
* sgl_to_sgl_fcnvfut(srcptr,_nullptr,dstptr,status)
|
||||
*
|
||||
* Internal Interfaces:
|
||||
*
|
||||
@ -44,7 +44,7 @@
|
||||
*/
|
||||
/*ARGSUSED*/
|
||||
int
|
||||
sgl_to_sgl_fcnvfut (sgl_floating_point * srcptr, unsigned int *nullptr,
|
||||
sgl_to_sgl_fcnvfut (sgl_floating_point * srcptr, unsigned int *_nullptr,
|
||||
unsigned int *dstptr, unsigned int *status)
|
||||
{
|
||||
register unsigned int src, result;
|
||||
@ -113,7 +113,7 @@ sgl_to_sgl_fcnvfut (sgl_floating_point * srcptr, unsigned int *nullptr,
|
||||
*/
|
||||
/*ARGSUSED*/
|
||||
int
|
||||
sgl_to_dbl_fcnvfut (sgl_floating_point * srcptr, unsigned int *nullptr,
|
||||
sgl_to_dbl_fcnvfut (sgl_floating_point * srcptr, unsigned int *_nullptr,
|
||||
dbl_unsigned * dstptr, unsigned int *status)
|
||||
{
|
||||
register int src_exponent;
|
||||
@ -183,7 +183,7 @@ sgl_to_dbl_fcnvfut (sgl_floating_point * srcptr, unsigned int *nullptr,
|
||||
*/
|
||||
/*ARGSUSED*/
|
||||
int
|
||||
dbl_to_sgl_fcnvfut (dbl_floating_point * srcptr, unsigned int *nullptr,
|
||||
dbl_to_sgl_fcnvfut (dbl_floating_point * srcptr, unsigned int *_nullptr,
|
||||
unsigned int *dstptr, unsigned int *status)
|
||||
{
|
||||
register unsigned int srcp1, srcp2, result;
|
||||
@ -252,7 +252,7 @@ dbl_to_sgl_fcnvfut (dbl_floating_point * srcptr, unsigned int *nullptr,
|
||||
*/
|
||||
/*ARGSUSED*/
|
||||
int
|
||||
dbl_to_dbl_fcnvfut (dbl_floating_point * srcptr, unsigned int *nullptr,
|
||||
dbl_to_dbl_fcnvfut (dbl_floating_point * srcptr, unsigned int *_nullptr,
|
||||
dbl_unsigned * dstptr, unsigned int *status)
|
||||
{
|
||||
register int src_exponent;
|
||||
|
@ -18,10 +18,10 @@
|
||||
* Double Floating-point to Double Fixed-point
|
||||
*
|
||||
* External Interfaces:
|
||||
* dbl_to_dbl_fcnvfx(srcptr,nullptr,dstptr,status)
|
||||
* dbl_to_sgl_fcnvfx(srcptr,nullptr,dstptr,status)
|
||||
* sgl_to_dbl_fcnvfx(srcptr,nullptr,dstptr,status)
|
||||
* sgl_to_sgl_fcnvfx(srcptr,nullptr,dstptr,status)
|
||||
* dbl_to_dbl_fcnvfx(srcptr,_nullptr,dstptr,status)
|
||||
* dbl_to_sgl_fcnvfx(srcptr,_nullptr,dstptr,status)
|
||||
* sgl_to_dbl_fcnvfx(srcptr,_nullptr,dstptr,status)
|
||||
* sgl_to_sgl_fcnvfx(srcptr,_nullptr,dstptr,status)
|
||||
*
|
||||
* Internal Interfaces:
|
||||
*
|
||||
@ -44,7 +44,7 @@
|
||||
int
|
||||
sgl_to_sgl_fcnvfx(
|
||||
sgl_floating_point *srcptr,
|
||||
sgl_floating_point *nullptr,
|
||||
sgl_floating_point *_nullptr,
|
||||
int *dstptr,
|
||||
sgl_floating_point *status)
|
||||
{
|
||||
@ -141,7 +141,7 @@ sgl_to_sgl_fcnvfx(
|
||||
int
|
||||
sgl_to_dbl_fcnvfx(
|
||||
sgl_floating_point *srcptr,
|
||||
unsigned int *nullptr,
|
||||
unsigned int *_nullptr,
|
||||
dbl_integer *dstptr,
|
||||
unsigned int *status)
|
||||
{
|
||||
@ -262,7 +262,7 @@ sgl_to_dbl_fcnvfx(
|
||||
int
|
||||
dbl_to_sgl_fcnvfx(
|
||||
dbl_floating_point *srcptr,
|
||||
unsigned int *nullptr,
|
||||
unsigned int *_nullptr,
|
||||
int *dstptr,
|
||||
unsigned int *status)
|
||||
{
|
||||
@ -373,7 +373,7 @@ dbl_to_sgl_fcnvfx(
|
||||
int
|
||||
dbl_to_dbl_fcnvfx(
|
||||
dbl_floating_point *srcptr,
|
||||
unsigned int *nullptr,
|
||||
unsigned int *_nullptr,
|
||||
dbl_integer *dstptr,
|
||||
unsigned int *status)
|
||||
{
|
||||
|
@ -18,10 +18,10 @@
|
||||
* Double Floating-point to Double Fixed-point /w truncated result
|
||||
*
|
||||
* External Interfaces:
|
||||
* dbl_to_dbl_fcnvfxt(srcptr,nullptr,dstptr,status)
|
||||
* dbl_to_sgl_fcnvfxt(srcptr,nullptr,dstptr,status)
|
||||
* sgl_to_dbl_fcnvfxt(srcptr,nullptr,dstptr,status)
|
||||
* sgl_to_sgl_fcnvfxt(srcptr,nullptr,dstptr,status)
|
||||
* dbl_to_dbl_fcnvfxt(srcptr,_nullptr,dstptr,status)
|
||||
* dbl_to_sgl_fcnvfxt(srcptr,_nullptr,dstptr,status)
|
||||
* sgl_to_dbl_fcnvfxt(srcptr,_nullptr,dstptr,status)
|
||||
* sgl_to_sgl_fcnvfxt(srcptr,_nullptr,dstptr,status)
|
||||
*
|
||||
* Internal Interfaces:
|
||||
*
|
||||
@ -45,7 +45,7 @@
|
||||
int
|
||||
sgl_to_sgl_fcnvfxt(
|
||||
sgl_floating_point *srcptr,
|
||||
unsigned int *nullptr,
|
||||
unsigned int *_nullptr,
|
||||
int *dstptr,
|
||||
unsigned int *status)
|
||||
{
|
||||
@ -109,7 +109,7 @@ sgl_to_sgl_fcnvfxt(
|
||||
int
|
||||
sgl_to_dbl_fcnvfxt(
|
||||
sgl_floating_point *srcptr,
|
||||
unsigned int *nullptr,
|
||||
unsigned int *_nullptr,
|
||||
dbl_integer *dstptr,
|
||||
unsigned int *status)
|
||||
{
|
||||
@ -183,7 +183,7 @@ sgl_to_dbl_fcnvfxt(
|
||||
int
|
||||
dbl_to_sgl_fcnvfxt(
|
||||
dbl_floating_point *srcptr,
|
||||
unsigned int *nullptr,
|
||||
unsigned int *_nullptr,
|
||||
int *dstptr,
|
||||
unsigned int *status)
|
||||
{
|
||||
@ -248,7 +248,7 @@ dbl_to_sgl_fcnvfxt(
|
||||
int
|
||||
dbl_to_dbl_fcnvfxt(
|
||||
dbl_floating_point *srcptr,
|
||||
unsigned int *nullptr,
|
||||
unsigned int *_nullptr,
|
||||
dbl_integer *dstptr,
|
||||
unsigned int *status)
|
||||
{
|
||||
|
@ -15,10 +15,10 @@
|
||||
* Fixed point to Floating-point Converts
|
||||
*
|
||||
* External Interfaces:
|
||||
* dbl_to_dbl_fcnvuf(srcptr,nullptr,dstptr,status)
|
||||
* dbl_to_sgl_fcnvuf(srcptr,nullptr,dstptr,status)
|
||||
* sgl_to_dbl_fcnvuf(srcptr,nullptr,dstptr,status)
|
||||
* sgl_to_sgl_fcnvuf(srcptr,nullptr,dstptr,status)
|
||||
* dbl_to_dbl_fcnvuf(srcptr,_nullptr,dstptr,status)
|
||||
* dbl_to_sgl_fcnvuf(srcptr,_nullptr,dstptr,status)
|
||||
* sgl_to_dbl_fcnvuf(srcptr,_nullptr,dstptr,status)
|
||||
* sgl_to_sgl_fcnvuf(srcptr,_nullptr,dstptr,status)
|
||||
*
|
||||
* Internal Interfaces:
|
||||
*
|
||||
@ -45,7 +45,7 @@
|
||||
int
|
||||
sgl_to_sgl_fcnvuf(
|
||||
unsigned int *srcptr,
|
||||
unsigned int *nullptr,
|
||||
unsigned int *_nullptr,
|
||||
sgl_floating_point *dstptr,
|
||||
unsigned int *status)
|
||||
{
|
||||
@ -104,7 +104,7 @@ sgl_to_sgl_fcnvuf(
|
||||
int
|
||||
sgl_to_dbl_fcnvuf(
|
||||
unsigned int *srcptr,
|
||||
unsigned int *nullptr,
|
||||
unsigned int *_nullptr,
|
||||
dbl_floating_point *dstptr,
|
||||
unsigned int *status)
|
||||
{
|
||||
@ -145,7 +145,7 @@ sgl_to_dbl_fcnvuf(
|
||||
int
|
||||
dbl_to_sgl_fcnvuf(
|
||||
dbl_unsigned *srcptr,
|
||||
unsigned int *nullptr,
|
||||
unsigned int *_nullptr,
|
||||
sgl_floating_point *dstptr,
|
||||
unsigned int *status)
|
||||
{
|
||||
@ -227,7 +227,7 @@ dbl_to_sgl_fcnvuf(
|
||||
int
|
||||
dbl_to_dbl_fcnvuf(
|
||||
dbl_unsigned *srcptr,
|
||||
unsigned int *nullptr,
|
||||
unsigned int *_nullptr,
|
||||
dbl_floating_point *dstptr,
|
||||
unsigned int *status)
|
||||
{
|
||||
|
@ -18,10 +18,10 @@
|
||||
* Double Fixed-point to Double Floating-point
|
||||
*
|
||||
* External Interfaces:
|
||||
* dbl_to_dbl_fcnvxf(srcptr,nullptr,dstptr,status)
|
||||
* dbl_to_sgl_fcnvxf(srcptr,nullptr,dstptr,status)
|
||||
* sgl_to_dbl_fcnvxf(srcptr,nullptr,dstptr,status)
|
||||
* sgl_to_sgl_fcnvxf(srcptr,nullptr,dstptr,status)
|
||||
* dbl_to_dbl_fcnvxf(srcptr,_nullptr,dstptr,status)
|
||||
* dbl_to_sgl_fcnvxf(srcptr,_nullptr,dstptr,status)
|
||||
* sgl_to_dbl_fcnvxf(srcptr,_nullptr,dstptr,status)
|
||||
* sgl_to_sgl_fcnvxf(srcptr,_nullptr,dstptr,status)
|
||||
*
|
||||
* Internal Interfaces:
|
||||
*
|
||||
@ -44,7 +44,7 @@
|
||||
int
|
||||
sgl_to_sgl_fcnvxf(
|
||||
int *srcptr,
|
||||
unsigned int *nullptr,
|
||||
unsigned int *_nullptr,
|
||||
sgl_floating_point *dstptr,
|
||||
unsigned int *status)
|
||||
{
|
||||
@ -115,7 +115,7 @@ sgl_to_sgl_fcnvxf(
|
||||
int
|
||||
sgl_to_dbl_fcnvxf(
|
||||
int *srcptr,
|
||||
unsigned int *nullptr,
|
||||
unsigned int *_nullptr,
|
||||
dbl_floating_point *dstptr,
|
||||
unsigned int *status)
|
||||
{
|
||||
@ -166,7 +166,7 @@ sgl_to_dbl_fcnvxf(
|
||||
int
|
||||
dbl_to_sgl_fcnvxf(
|
||||
dbl_integer *srcptr,
|
||||
unsigned int *nullptr,
|
||||
unsigned int *_nullptr,
|
||||
sgl_floating_point *dstptr,
|
||||
unsigned int *status)
|
||||
{
|
||||
@ -271,7 +271,7 @@ dbl_to_sgl_fcnvxf(
|
||||
int
|
||||
dbl_to_dbl_fcnvxf(
|
||||
dbl_integer *srcptr,
|
||||
unsigned int *nullptr,
|
||||
unsigned int *_nullptr,
|
||||
dbl_floating_point *dstptr,
|
||||
unsigned int *status)
|
||||
{
|
||||
|
@ -14,8 +14,8 @@
|
||||
* Quad Floating-point Round to Integer (returns unimplemented)
|
||||
*
|
||||
* External Interfaces:
|
||||
* dbl_frnd(srcptr,nullptr,dstptr,status)
|
||||
* sgl_frnd(srcptr,nullptr,dstptr,status)
|
||||
* dbl_frnd(srcptr,_nullptr,dstptr,status)
|
||||
* sgl_frnd(srcptr,_nullptr,dstptr,status)
|
||||
*
|
||||
* END_DESC
|
||||
*/
|
||||
@ -33,7 +33,7 @@
|
||||
/*ARGSUSED*/
|
||||
int
|
||||
sgl_frnd(sgl_floating_point *srcptr,
|
||||
unsigned int *nullptr,
|
||||
unsigned int *_nullptr,
|
||||
sgl_floating_point *dstptr,
|
||||
unsigned int *status)
|
||||
{
|
||||
@ -138,7 +138,7 @@ sgl_frnd(sgl_floating_point *srcptr,
|
||||
int
|
||||
dbl_frnd(
|
||||
dbl_floating_point *srcptr,
|
||||
unsigned int *nullptr,
|
||||
unsigned int *_nullptr,
|
||||
dbl_floating_point *dstptr,
|
||||
unsigned int *status)
|
||||
{
|
||||
|
@ -15,7 +15,7 @@
|
||||
* Single Floating-point Square Root
|
||||
*
|
||||
* External Interfaces:
|
||||
* sgl_fsqrt(srcptr,nullptr,dstptr,status)
|
||||
* sgl_fsqrt(srcptr,_nullptr,dstptr,status)
|
||||
*
|
||||
* Internal Interfaces:
|
||||
*
|
||||
@ -37,7 +37,7 @@
|
||||
unsigned int
|
||||
sgl_fsqrt(
|
||||
sgl_floating_point *srcptr,
|
||||
unsigned int *nullptr,
|
||||
unsigned int *_nullptr,
|
||||
sgl_floating_point *dstptr,
|
||||
unsigned int *status)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user