diff options
author | Arnd Bergmann <[email protected]> | 2024-02-12 12:20:51 +0100 |
---|---|---|
committer | Helge Deller <[email protected]> | 2024-02-27 22:51:44 +0100 |
commit | cf159848860d38c2f2509ec19d595f5490ed03e5 (patch) | |
tree | 094633d63b100bbb1ce221998595071494fd7be7 /arch/parisc/math-emu/dfsqrt.c | |
parent | 94a1b192290c9fdb33085ecacf82afb27bd63fa8 (diff) |
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 <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'arch/parisc/math-emu/dfsqrt.c')
-rw-r--r-- | arch/parisc/math-emu/dfsqrt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/math-emu/dfsqrt.c b/arch/parisc/math-emu/dfsqrt.c index 63d339c81c14..e3a3a19b966b 100644 --- a/arch/parisc/math-emu/dfsqrt.c +++ b/arch/parisc/math-emu/dfsqrt.c @@ -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) { |