aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/cabs.c4
-rw-r--r--math/cabsf.c4
-rw-r--r--math/cabsl.c4
-rw-r--r--math/cimag.c4
-rw-r--r--math/cimagf.c4
-rw-r--r--math/cimagl.c4
-rw-r--r--math/conj.c6
-rw-r--r--math/conjf.c6
-rw-r--r--math/conjl.c6
-rw-r--r--math/creal.c4
-rw-r--r--math/crealf.c4
-rw-r--r--math/creall.c4
12 files changed, 27 insertions, 27 deletions
diff --git a/math/cabs.c b/math/cabs.c
index cf775ded95..e91258c1dc 100644
--- a/math/cabs.c
+++ b/math/cabs.c
@@ -1,5 +1,5 @@
/* Return the complex absolute value of double complex value.
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -22,7 +22,7 @@
#include <math.h>
double
-__cabs (double complex z)
+__cabs (double _Complex z)
{
return __hypot (__real__ z, __imag__ z);
}
diff --git a/math/cabsf.c b/math/cabsf.c
index 2ea2660d97..ea02b8f38a 100644
--- a/math/cabsf.c
+++ b/math/cabsf.c
@@ -1,5 +1,5 @@
/* Return the complex absolute value of float complex value.
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -22,7 +22,7 @@
#include <math.h>
float
-__cabsf (float complex z)
+__cabsf (float _Complex z)
{
return __hypotf (__real__ z, __imag__ z);
}
diff --git a/math/cabsl.c b/math/cabsl.c
index 1f3554cef2..15e1274990 100644
--- a/math/cabsl.c
+++ b/math/cabsl.c
@@ -1,5 +1,5 @@
/* Return the complex absolute value of long double complex value.
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -22,7 +22,7 @@
#include <math.h>
long double
-__cabsl (long double complex z)
+__cabsl (long double _Complex z)
{
return __hypotl (__real__ z, __imag__ z);
}
diff --git a/math/cimag.c b/math/cimag.c
index 13efa1476e..ddd9b00708 100644
--- a/math/cimag.c
+++ b/math/cimag.c
@@ -1,5 +1,5 @@
/* Return imaginary part of complex double value.
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -21,7 +21,7 @@
#include <complex.h>
double
-__cimag (double complex z)
+__cimag (double _Complex z)
{
return __imag__ z;
}
diff --git a/math/cimagf.c b/math/cimagf.c
index 8edb4e613e..bef73eb46d 100644
--- a/math/cimagf.c
+++ b/math/cimagf.c
@@ -1,5 +1,5 @@
/* Return imaginary part of complex float value.
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -21,7 +21,7 @@
#include <complex.h>
float
-__cimagf (float complex z)
+__cimagf (float _Complex z)
{
return __imag__ z;
}
diff --git a/math/cimagl.c b/math/cimagl.c
index 9c58899274..b033413a0f 100644
--- a/math/cimagl.c
+++ b/math/cimagl.c
@@ -1,5 +1,5 @@
/* Return imaginary part of complex long double value.
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -21,7 +21,7 @@
#include <complex.h>
long double
-__cimagl (long double complex z)
+__cimagl (long double _Complex z)
{
return __imag__ z;
}
diff --git a/math/conj.c b/math/conj.c
index c15c417e4c..368c169274 100644
--- a/math/conj.c
+++ b/math/conj.c
@@ -1,5 +1,5 @@
/* Return complex conjugate of complex double value.
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -20,8 +20,8 @@
#include <complex.h>
-double complex
-__conj (double complex z)
+double _Complex
+__conj (double _Complex z)
{
return ~z;
}
diff --git a/math/conjf.c b/math/conjf.c
index 828edaf2b7..5a3329acce 100644
--- a/math/conjf.c
+++ b/math/conjf.c
@@ -1,5 +1,5 @@
/* Return complex conjugate of complex float value.
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -20,8 +20,8 @@
#include <complex.h>
-float complex
-__conjf (float complex z)
+float _Complex
+__conjf (float _Complex z)
{
return ~z;
}
diff --git a/math/conjl.c b/math/conjl.c
index 9e44dc32a1..6a4e105306 100644
--- a/math/conjl.c
+++ b/math/conjl.c
@@ -1,5 +1,5 @@
/* Return complex conjugate of complex long double value.
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -20,8 +20,8 @@
#include <complex.h>
-long double complex
-__conjl (long double complex z)
+long double _Complex
+__conjl (long double _Complex z)
{
return ~z;
}
diff --git a/math/creal.c b/math/creal.c
index c3ec4f7802..09d9185ab5 100644
--- a/math/creal.c
+++ b/math/creal.c
@@ -1,5 +1,5 @@
/* Return real part of complex double value.
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -21,7 +21,7 @@
#include <complex.h>
double
-__creal (double complex z)
+__creal (double _Complex z)
{
return __real__ z;
}
diff --git a/math/crealf.c b/math/crealf.c
index bb9c2c1418..3930e4fca8 100644
--- a/math/crealf.c
+++ b/math/crealf.c
@@ -1,5 +1,5 @@
/* Return real part of complex float value.
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -21,7 +21,7 @@
#include <complex.h>
float
-__crealf (float complex z)
+__crealf (float _Complex z)
{
return __real__ z;
}
diff --git a/math/creall.c b/math/creall.c
index 0ab1aab2cb..fe485bb1b4 100644
--- a/math/creall.c
+++ b/math/creall.c
@@ -1,5 +1,5 @@
/* Return real part of complex long double value.
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -21,7 +21,7 @@
#include <complex.h>
long double
-__creall (long double complex z)
+__creall (long double _Complex z)
{
return __real__ z;
}