msun: Rewrite function definitions with identifier lists

This syntax is removed in C2x proposal N2432.

Reviewed by:	pfg
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D35771
This commit is contained in:
Yi Kong 2022-07-12 13:17:47 +08:00 committed by Li-Wen Hsu
parent 7f3383d29b
commit 7e06f4708c
No known key found for this signature in database
GPG key ID: 82B261B14D3BC7AF
2 changed files with 2 additions and 4 deletions

View file

@ -15,8 +15,7 @@ static const char rcsid[] =
#include "math_private.h"
float
cabsf(z)
float complex z;
cabsf(float complex z)
{
return hypotf(crealf(z), cimagf(z));

View file

@ -8,8 +8,7 @@
#include <math.h>
double
drem(x, y)
double x, y;
drem(double x, double y)
{
return remainder(x, y);
}