about summary refs log tree commit diff
path: root/inet
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-24 10:25:31 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-24 10:25:31 +0000
commit4d42000c41c216157909df3cd33bd6d1387b22ed (patch)
tree09a89a5c67616887c1a1b9b2672c64a17b6389e4 /inet
parenta853022cc32c8286018294e08cd4990ffcaf1d2b (diff)
downloadglibc-4d42000c41c216157909df3cd33bd6d1387b22ed.tar.gz
glibc-4d42000c41c216157909df3cd33bd6d1387b22ed.tar.xz
glibc-4d42000c41c216157909df3cd33bd6d1387b22ed.zip
Update.
1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>

	* inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
	Fix paren.

1998-03-24  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
	parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
Diffstat (limited to 'inet')
-rw-r--r--inet/netinet/in.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/inet/netinet/in.h b/inet/netinet/in.h
index 6b59930008..75c299eaea 100644
--- a/inet/netinet/in.h
+++ b/inet/netinet/in.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,93,94,95,96,97,98 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -20,7 +20,7 @@
 #define	_NETINET_IN_H	1
 
 #include <features.h>
-#include <inttypes.h>
+#include <stdint.h>
 
 #include <sys/socket.h>
 #include <sys/types.h>
@@ -244,12 +244,12 @@ extern uint16_t htons __P ((uint16_t __hostshort));
 #endif
 
 #define IN6_IS_ADDR_UNSPECIFIED(a) \
-	((((uint32_t *) (a))[0] == 0) && ((uint32_t *) (a))[1] == 0) && \
-	 (((uint32_t *) (a))[2] == 0) && ((uint32_t *) (a))[3] == 0))
+	(((uint32_t *) (a))[0] == 0 && ((uint32_t *) (a))[1] == 0 && \
+	 ((uint32_t *) (a))[2] == 0 && ((uint32_t *) (a))[3] == 0)
 
 #define IN6_IS_ADDR_LOOPBACK(a) \
-	((((uint32_t *) (a))[0] == 0) && ((uint32_t *) (a))[1] == 0) && \
-	 (((uint32_t *) (a))[2] == 0) && ((uint32_t *) (a))[3] == htonl (1)))
+	(((uint32_t *) (a))[0] == 0 && ((uint32_t *) (a))[1] == 0 && \
+	 ((uint32_t *) (a))[2] == 0 && ((uint32_t *) (a))[3] == htonl (1))
 
 #define IN6_IS_ADDR_MULTICAST(a) (((u_int8_t *) (a))[0] == 0xff)