(__nscd_gethostbyaddr_r): Fix types of first and second parameter.
authordrepper <drepper>
Sun, 30 Apr 2000 04:14:11 +0000 (04:14 +0000)
committerdrepper <drepper>
Sun, 30 Apr 2000 04:14:11 +0000 (04:14 +0000)
nscd/nscd_proto.h

index 8af9065..f8c9d98 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@suse.de>, 1998.
 
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@suse.de>, 1998.
 
@@ -45,7 +45,7 @@ extern int __nscd_gethostbyname2_r (const char *name, int af,
                                    struct hostent *resultbuf,
                                    char *buffer, size_t buflen,
                                    int *h_errnop);
                                    struct hostent *resultbuf,
                                    char *buffer, size_t buflen,
                                    int *h_errnop);
-extern int __nscd_gethostbyaddr_r (const char *addr, size_t len, int type,
+extern int __nscd_gethostbyaddr_r (const void *addr, socklen_t len, int type,
                                   struct hostent *resultbuf,
                                   char *buffer, size_t buflen,
                                   int *h_errnop);
                                   struct hostent *resultbuf,
                                   char *buffer, size_t buflen,
                                   int *h_errnop);