diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-05-29 18:04:55 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-05-29 18:04:55 +0000 |
commit | 3846463e0784dc1315ed07fcc9a604e12012b051 (patch) | |
tree | acff1b6e670be6957c41eeb56be9862f8495e949 /include/netdb.h | |
parent | 41b5aaf9c93b45455c51666b6c273d2ae56008a3 (diff) | |
download | glibc-3846463e0784dc1315ed07fcc9a604e12012b051.tar.gz glibc-3846463e0784dc1315ed07fcc9a604e12012b051.tar.xz glibc-3846463e0784dc1315ed07fcc9a604e12012b051.zip |
Update.
2000-05-29 Ulrich Drepper <drepper@redhat.com> * 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.
Diffstat (limited to 'include/netdb.h')
-rw-r--r-- | include/netdb.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |