From 3846463e0784dc1315ed07fcc9a604e12012b051 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 29 May 2000 18:04:55 +0000 Subject: Update. 2000-05-29 Ulrich Drepper * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c): Removed. * inet/rcmd.c: Remove __P. Remove unused variables. (iruserfopen): Make first parameter const. (ruserok_sa): Return result of ruserok2_sa. (__checkhost_sa): Correctly iterate through results of getaddrinfo. * inet/rexec.c: Remove unused variables. Other small cleanups. * inet/ruserpass.c: Remove __P. Remove unused variables. (ruserpass): Check results of memory allocation. * include/netdb.h: Add prototype for ruserpass. --- include/netdb.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/netdb.h') diff --git a/include/netdb.h b/include/netdb.h index f7f570e425..26b8cf5850 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -77,4 +77,7 @@ extern int __getnetgrent_r (char **__restrict __hostp, char **__restrict __userp, char **__restrict __domainp, char *__restrict __buffer, size_t __buflen); + +extern int ruserpass (const char *host, const char **aname, + const char **apass); #endif /* !_NETDB_H */ -- cgit v1.2.3