diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2020-12-14 22:03:13 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2020-12-14 22:03:13 +0000 |
commit | 725687af3c29b3df2f887cdd3e48617c027dd92d (patch) | |
tree | cd2fd8559af87b562519e3df48ba237c8a604ec6 | |
parent | fb2fb79e10b22f542d8709cc1c1f15579a3fcbf9 (diff) | |
download | src-test2-725687af3c29b3df2f887cdd3e48617c027dd92d.tar.gz src-test2-725687af3c29b3df2f887cdd3e48617c027dd92d.zip |
MFC r368543:
style(9): Correct whitespace in struct definitions
struct ifconf and struct ifreq use the odd style "struct<tab>foo".
struct ifdrv seems to have tried to follow this but was committed with
spaces in place of most tabs resulting in "struct<space><space>ifdrv".
Notes
Notes:
svn path=/stable/11/; revision=368645
-rw-r--r-- | sys/net/if.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/net/if.h b/sys/net/if.h index 842d933baebd..28a0c2c7176b 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -380,7 +380,7 @@ struct ifreq_buffer { * definitions which begin with ifr_name. The * remainder may be interface specific. */ -struct ifreq { +struct ifreq { char ifr_name[IFNAMSIZ]; /* if name, e.g. "en0" */ union { struct sockaddr ifru_addr; @@ -454,11 +454,11 @@ struct ifmediareq { int *ifm_ulist; /* media words */ }; -struct ifdrv { - char ifd_name[IFNAMSIZ]; /* if name, e.g. "en0" */ - unsigned long ifd_cmd; - size_t ifd_len; - void *ifd_data; +struct ifdrv { + char ifd_name[IFNAMSIZ]; /* if name, e.g. "en0" */ + unsigned long ifd_cmd; + size_t ifd_len; + void *ifd_data; }; /* @@ -480,7 +480,7 @@ struct ifstat { * for machine (useful for programs which * must know all networks accessible). */ -struct ifconf { +struct ifconf { int ifc_len; /* size of associated buffer */ union { caddr_t ifcu_buf; |