diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2001-09-05 01:36:46 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-09-05 01:36:46 +0000 |
commit | 1792335469ba3565828d0eb595a64116ff63abdf (patch) | |
tree | 5d3702b54b0b14f9bfe65adc02f757d9f356ccb4 /include | |
parent | faf73940c6e09295a85c155905393af5fa1f213c (diff) | |
download | src-1792335469ba3565828d0eb595a64116ff63abdf.tar.gz src-1792335469ba3565828d0eb595a64116ff63abdf.zip |
style(9) the structure definitions.
Notes
Notes:
svn path=/head/; revision=83047
Diffstat (limited to 'include')
-rw-r--r-- | include/arpa/tftp.h | 3 | ||||
-rw-r--r-- | include/disktab.h | 3 | ||||
-rw-r--r-- | include/link.h | 2 | ||||
-rw-r--r-- | include/netdb.h | 8 |
4 files changed, 9 insertions, 7 deletions
diff --git a/include/arpa/tftp.h b/include/arpa/tftp.h index c88920d4f96f..70a2029db356 100644 --- a/include/arpa/tftp.h +++ b/include/arpa/tftp.h @@ -31,6 +31,7 @@ * SUCH DAMAGE. * * @(#)tftp.h 8.1 (Berkeley) 6/2/93 + * $FreeBSD$ */ #ifndef _ARPA_TFTP_H_ @@ -50,7 +51,7 @@ #define ACK 04 /* acknowledgement */ #define ERROR 05 /* error code */ -struct tftphdr { +struct tftphdr { unsigned short th_opcode; /* packet type */ union { unsigned short tu_block; /* block # */ diff --git a/include/disktab.h b/include/disktab.h index 55f0f4625c7c..1b9a7c7e5161 100644 --- a/include/disktab.h +++ b/include/disktab.h @@ -31,6 +31,7 @@ * SUCH DAMAGE. * * @(#)disktab.h 8.1 (Berkeley) 6/2/93 + * $FreeBSD$ */ #ifndef _DISKTAB_H_ @@ -41,7 +42,7 @@ */ #define DISKTAB "/etc/disktab" -struct disktab { +struct disktab { char *d_name; /* drive name */ char *d_type; /* drive type */ int d_secsize; /* sector size in bytes */ diff --git a/include/link.h b/include/link.h index 2339aeeade36..9d652e252901 100644 --- a/include/link.h +++ b/include/link.h @@ -218,7 +218,7 @@ struct ld_entry { * `nz_list' type of symbols. */ -struct _dynamic { +struct _dynamic { int d_version; /* version # of this interface */ struct so_debug *d_debug; union { diff --git a/include/netdb.h b/include/netdb.h index b80f6ed42985..f2196f2c9b26 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 # */ |