about summary refs log tree commit diff
path: root/nscd/gethstbyad_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'nscd/gethstbyad_r.c')
-rw-r--r--nscd/gethstbyad_r.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nscd/gethstbyad_r.c b/nscd/gethstbyad_r.c
index d68d4f258b..7590e6424a 100644
--- a/nscd/gethstbyad_r.c
+++ b/nscd/gethstbyad_r.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 1999, 2000 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, size_t len, int type
+#define ADD_PARAMS	const void *addr, socklen_t len, int type
 #define ADD_VARIABLES	addr, len, type
 #define NEED_H_ERRNO	1
 #define NEED__RES	1