Date: Mon, 11 Jul 2005 13:46:34 GMT From: soc-bushman <soc-bushman@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 79993 for review Message-ID: <200507111346.j6BDkYEO053099@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=79993 Change 79993 by soc-bushman@soc-bushman_stinger on 2005/07/11 13:45:46 netdb_private.h reverted to use proper declarations of getserv*_r functions Affected files ... .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/net/netdb_private.h#5 edit Differences ... ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/net/netdb_private.h#5 (text+ko) ==== @@ -134,11 +134,11 @@ int getprotobyname_r(const char *, struct protoent *, struct protoent_data *); int getprotobynumber_r(int, struct protoent *, struct protoent_data *); int getprotoent_r(struct protoent *, struct protoent_data *); -struct servent *getservbyname_r(const char *, const char *, struct servent *, - char *, size_t); -struct servent *getservbyport_r(int, const char *, struct servent *, - char *, size_t); -struct servent *getservent_r(struct servent *, char *, size_t); +int getservbyname_r(const char *, const char *, struct servent *, + char *, size_t, struct servent **); +int getservbyport_r(int, const char *, struct servent *, + char *, size_t, struct servent **); +int getservent_r(struct servent *, char *, size_t, struct servent **); void sethostent_r(int, struct hostent_data *); void setnetent_r(int, struct netent_data *); void setprotoent_r(int, struct protoent_data *);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507111346.j6BDkYEO053099>