diff options
author | obrien <obrien@FreeBSD.org> | 2001-09-05 01:36:46 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-09-05 01:36:46 +0000 |
commit | 34ad4938d7b13071cec2b5866ff9e86958fee591 (patch) | |
tree | 5d3702b54b0b14f9bfe65adc02f757d9f356ccb4 /include/netdb.h | |
parent | 2f864814fffdc5d1caeb9a8e0535608dc6be9556 (diff) | |
download | FreeBSD-src-34ad4938d7b13071cec2b5866ff9e86958fee591.zip FreeBSD-src-34ad4938d7b13071cec2b5866ff9e86958fee591.tar.gz |
style(9) the structure definitions.
Diffstat (limited to 'include/netdb.h')
-rw-r--r-- | include/netdb.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/netdb.h b/include/netdb.h index b80f6ed..f2196f2 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -84,7 +84,7 @@ extern int h_errno; * supplied in host order, and returned in network order (suitable for * use in system calls). */ -struct hostent { +struct hostent { char *h_name; /* official name of host */ char **h_aliases; /* alias list */ int h_addrtype; /* host address type */ @@ -97,21 +97,21 @@ struct hostent { * Assumption here is that a network number * fits in an unsigned long -- probably a poor one. */ -struct netent { +struct netent { char *n_name; /* official name of net */ char **n_aliases; /* alias list */ int n_addrtype; /* net address type */ unsigned long n_net; /* network # */ }; -struct servent { +struct servent { char *s_name; /* official service name */ char **s_aliases; /* alias list */ int s_port; /* port # */ char *s_proto; /* protocol to use */ }; -struct protoent { +struct protoent { char *p_name; /* official protocol name */ char **p_aliases; /* alias list */ int p_proto; /* protocol # */ |