diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-08-04 16:01:55 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-08-04 16:01:55 +0000 |
commit | 2f638d5e5aba6f39a446143e66ed926406c0ae9d (patch) | |
tree | 57d8d5aca7f9294aa4dfdd982cc6c2ec2afc57b0 /inet | |
parent | 630b9a59e11b1f2c0a2e7a41c1100f959c831cd3 (diff) | |
download | glibc-2f638d5e5aba6f39a446143e66ed926406c0ae9d.tar glibc-2f638d5e5aba6f39a446143e66ed926406c0ae9d.tar.gz glibc-2f638d5e5aba6f39a446143e66ed926406c0ae9d.tar.bz2 glibc-2f638d5e5aba6f39a446143e66ed926406c0ae9d.zip |
Update.
1999-08-04 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
Initialize result to one.
(GET_NPROCS_CONF_PARSER): Likewise.
Diffstat (limited to 'inet')
-rw-r--r-- | inet/ether_hton.c | 4 | ||||
-rw-r--r-- | inet/getnetgrent_r.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/inet/ether_hton.c b/inet/ether_hton.c index 848fe92115..8a1325b728 100644 --- a/inet/ether_hton.c +++ b/inet/ether_hton.c @@ -17,6 +17,7 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include <errno.h> #include <netinet/ether.h> #include <netinet/if_ether.h> #include <string.h> @@ -34,7 +35,8 @@ struct etherent /* Type of the lookup function we need here. */ -typedef int (*lookup_function) (const char *, struct etherent *, char *, int); +typedef int (*lookup_function) (const char *, struct etherent *, char *, int, + int *); /* The lookup function for the first entry of this service. */ extern int __nss_ethers_lookup (service_user **nip, const char *name, diff --git a/inet/getnetgrent_r.c b/inet/getnetgrent_r.c index d3a9a14630..aee67cfed1 100644 --- a/inet/getnetgrent_r.c +++ b/inet/getnetgrent_r.c @@ -195,7 +195,7 @@ __internal_getnetgrent_r (char **hostp, char **userp, char **domainp, struct __netgrent *datap, char *buffer, size_t buflen, int *errnop) { - enum nss_status (*fct) (struct __netgrent *, char *, size_t); + enum nss_status (*fct) (struct __netgrent *, char *, size_t, int *); int no_more; /* Initialize status to return if no more functions are found. */ |