about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-08-11 18:54:46 +0000
committerRoland McGrath <roland@gnu.org>2004-08-11 18:54:46 +0000
commitcc6502ddb867d277023f48ed26e2b1725bb2e792 (patch)
tree3011b0cc44c1d2f4505c836265f9c4f51b86b388 /sysdeps
parent3cabdafafa0cd42a86a63affd5d4fee2c10cfbf5 (diff)
downloadglibc-cc6502ddb867d277023f48ed26e2b1725bb2e792.tar.gz
glibc-cc6502ddb867d277023f48ed26e2b1725bb2e792.tar.xz
glibc-cc6502ddb867d277023f48ed26e2b1725bb2e792.zip
* sysdeps/ieee754/dbl-64/mpa.c: Include <sys/param.h>.
	* sysdeps/ieee754/dbl-64/mpa.h (MAX, MIN): Macros removed.

	* stdio-common/tst-popen.c: Include <string.h>.

	* resolv/res_send.c (__libc_res_nsend): Only define TMPBUF #if DEBUG.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/ieee754/dbl-64/mpa.c1
-rw-r--r--sysdeps/ieee754/dbl-64/mpa.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/ieee754/dbl-64/mpa.c b/sysdeps/ieee754/dbl-64/mpa.c
index acd7c4102f..68647ba335 100644
--- a/sysdeps/ieee754/dbl-64/mpa.c
+++ b/sysdeps/ieee754/dbl-64/mpa.c
@@ -47,6 +47,7 @@
 #include "endian.h"
 #include "mpa.h"
 #include "mpa2.h"
+#include <sys/param.h>	/* For MIN() */
 /* mcr() compares the sizes of the mantissas of two multiple precision  */
 /* numbers. Mantissas are compared regardless of the signs of the       */
 /* numbers, even if x->d[0] or y->d[0] are zero. Exponents are also     */
diff --git a/sysdeps/ieee754/dbl-64/mpa.h b/sysdeps/ieee754/dbl-64/mpa.h
index d14a070834..4aec48e90f 100644
--- a/sysdeps/ieee754/dbl-64/mpa.h
+++ b/sysdeps/ieee754/dbl-64/mpa.h
@@ -63,8 +63,6 @@ typedef union { int i[2]; double d; } number;
 #define  EY  y->e
 #define  EZ  z->e
 
-#define MAX(x,y) ((x) < (y) ?  (y) : (x))
-#define MIN(x,y) ((x) < (y) ?  (x) : (y))
 #define ABS(x)   ((x) <  0  ? -(x) : (x))
 
 int __acr(const mp_no *, const mp_no *, int);