aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2020-12-14 21:56:15 +0000
committerBrooks Davis <brooks@FreeBSD.org>2020-12-14 21:56:15 +0000
commit70fe0fdb6067c0691bcc1aea8a59268149f9fbe3 (patch)
tree8d4c3e11fe07f943e5cdfafe4ca02593cf237b5d
parent2426d0d1188220a8f4a7e6846e033e2ddf4fccf4 (diff)
downloadsrc-70fe0fdb6067c0691bcc1aea8a59268149f9fbe3.tar.gz
src-70fe0fdb6067c0691bcc1aea8a59268149f9fbe3.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/12/; revision=368644
-rw-r--r--sys/net/if.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index bd10883f2346..3767033d8265 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -389,7 +389,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;
@@ -463,11 +463,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;
};
/*
@@ -489,7 +489,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;