summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-09-05 01:36:46 +0000
committerobrien <obrien@FreeBSD.org>2001-09-05 01:36:46 +0000
commit34ad4938d7b13071cec2b5866ff9e86958fee591 (patch)
tree5d3702b54b0b14f9bfe65adc02f757d9f356ccb4 /include
parent2f864814fffdc5d1caeb9a8e0535608dc6be9556 (diff)
downloadFreeBSD-src-34ad4938d7b13071cec2b5866ff9e86958fee591.zip
FreeBSD-src-34ad4938d7b13071cec2b5866ff9e86958fee591.tar.gz
style(9) the structure definitions.
Diffstat (limited to 'include')
-rw-r--r--include/arpa/tftp.h3
-rw-r--r--include/disktab.h3
-rw-r--r--include/link.h2
-rw-r--r--include/netdb.h8
4 files changed, 9 insertions, 7 deletions
diff --git a/include/arpa/tftp.h b/include/arpa/tftp.h
index c88920d..70a2029 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 55f0f46..1b9a7c7 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 2339aee..9d652e2 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 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 # */
OpenPOWER on IntegriCloud