summary refs log tree commit diff
path: root/inet
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-07-18 05:33:11 +0000
committerUlrich Drepper <drepper@redhat.com>1999-07-18 05:33:11 +0000
commit5da9f08469c8143b3f4a06fdf117683e3b1bf394 (patch)
tree61027580d82c0daec9b017873ef6ee8cff6cd7bb /inet
parent6bd7b31b9ce39da00f952a39d2253634e15b2dd5 (diff)
downloadglibc-5da9f08469c8143b3f4a06fdf117683e3b1bf394.tar.gz
glibc-5da9f08469c8143b3f4a06fdf117683e3b1bf394.tar.xz
glibc-5da9f08469c8143b3f4a06fdf117683e3b1bf394.zip
Update.
	* resolv/netdb.h: Adjust parameters of gethostbyaddr and
	gethostbyaddr_r.
	* inet/gethstbyad.c: Correct type of len parameter.
	* inet/gethstbyad_r.c: Likewise.
Diffstat (limited to 'inet')
-rw-r--r--inet/gethstbyad.c4
-rw-r--r--inet/gethstbyad_r.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/inet/gethstbyad.c b/inet/gethstbyad.c
index 410abe2342..8183ddfd28 100644
--- a/inet/gethstbyad.c
+++ b/inet/gethstbyad.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -23,7 +23,7 @@
 #define LOOKUP_TYPE	struct hostent
 #define FUNCTION_NAME	gethostbyaddr
 #define DATABASE_NAME	hosts
-#define ADD_PARAMS	const char *addr, int len, int type
+#define ADD_PARAMS	const char *addr, size_t len, int type
 #define ADD_VARIABLES	addr, len, type
 #define BUFLEN		1024
 #define NEED_H_ERRNO	1
diff --git a/inet/gethstbyad_r.c b/inet/gethstbyad_r.c
index 175253d9ab..366cd55f17 100644
--- a/inet/gethstbyad_r.c
+++ b/inet/gethstbyad_r.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -23,7 +23,7 @@
 #define LOOKUP_TYPE	struct hostent
 #define FUNCTION_NAME	gethostbyaddr
 #define DATABASE_NAME	hosts
-#define ADD_PARAMS	const char *addr, int len, int type
+#define ADD_PARAMS	const char *addr, size_t len, int type
 #define ADD_VARIABLES	addr, len, type
 #define NEED_H_ERRNO	1
 #define NEED__RES	1