about summary refs log tree commit diff
path: root/math/bits
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-16 01:39:48 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-16 01:39:48 +0000
commit5985c772100b698aa6cf77997b06e4cfd047e7e7 (patch)
tree27274828616b82fce2ca258e9a8367a6753b8949 /math/bits
parent8ae67009786d409e1995536c9dbd7f52c4b4c9be (diff)
downloadglibc-5985c772100b698aa6cf77997b06e4cfd047e7e7.tar.gz
glibc-5985c772100b698aa6cf77997b06e4cfd047e7e7.tar.xz
glibc-5985c772100b698aa6cf77997b06e4cfd047e7e7.zip
Update.
	* math/complex.h: Don't define _Complex macro for gcc 3.  Add
	__extension__ to _Complex_I definition since gcc warns if -pedantic.
	* math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
Diffstat (limited to 'math/bits')
-rw-r--r--math/bits/cmathcalls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/bits/cmathcalls.h b/math/bits/cmathcalls.h
index 57a2582d70..3a46822cb5 100644
--- a/math/bits/cmathcalls.h
+++ b/math/bits/cmathcalls.h
@@ -151,7 +151,7 @@ __MATH_PRECNAME(creal) (_Mdouble_complex_ __z) __THROW
 extern __inline _Mdouble_complex_
 __MATH_PRECNAME(conj) (_Mdouble_complex_ __z) __THROW
 {
-  return ~__z;
+  return __extension__ ~__z;
 }
 
 #endif