PERFORCE change 79594 for review
soc-bushman
soc-bushman at FreeBSD.org
Tue Jul 5 10:51:30 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=79594
Change 79594 by soc-bushman at soc-bushman_stinger on 2005/07/05 10:51:12
some unused comments deleted
Affected files ...
.. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/net/netdb_private.h#3 edit
Differences ...
==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/net/netdb_private.h#3 (text+ko) ====
@@ -65,22 +65,6 @@
char line[_MAXLINELEN + 1];
};
-/*struct servent_data {
- FILE *fp;
- char *aliases[_MAXALIASES];
- int stayopen;
- char line[_MAXLINELEN + 1];
-#ifdef YP
- int yp_stepping;
- char *yp_name;
- char *yp_proto;
- int yp_port;
- char *yp_domain;
- char *yp_key;
- int yp_keylen;
-#endif
-};*/
-
struct hostdata {
struct hostent host;
struct hostent_data data;
@@ -96,11 +80,6 @@
struct protoent_data data;
};
-/*struct servdata {
- struct servent serv;
- struct servent_data data;
-};*/
-
#define endhostent_r __endhostent_r
#define endnetent_r __endnetent_r
#define endprotoent_r __endprotoent_r
@@ -142,7 +121,6 @@
void endhostent_r(struct hostent_data *);
void endnetent_r(struct netent_data *);
void endprotoent_r(struct protoent_data *);
-//void endservent_r(struct servent_data *);
int gethostbyaddr_r(const char *, int, int, struct hostent *,
struct hostent_data *);
int gethostbyname_r(const char *, struct hostent *, struct hostent_data *);
@@ -164,6 +142,5 @@
void sethostent_r(int, struct hostent_data *);
void setnetent_r(int, struct netent_data *);
void setprotoent_r(int, struct protoent_data *);
-//void setservent_r(int, struct servent_data *);
#endif /* _NETDB_PRIVATE_H_ */
More information about the p4-projects
mailing list