aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2020-12-11 01:00:07 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-07-11 11:52:46 +0200
commit70b6efc47df4992209237a1b3d2005d5de1e0e7f (patch)
treeca8a40c73a3ca21d94812042b13bd1920f5fb373
parent3f7425e8bb5abcb5c10ecc72acee0007f55a7957 (diff)
downloadnewlib-70b6efc47df4992209237a1b3d2005d5de1e0e7f.zip
newlib-70b6efc47df4992209237a1b3d2005d5de1e0e7f.tar.gz
newlib-70b6efc47df4992209237a1b3d2005d5de1e0e7f.tar.bz2
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". MFC after: 3 days
-rw-r--r--newlib/libc/sys/rtems/include/net/if.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/newlib/libc/sys/rtems/include/net/if.h b/newlib/libc/sys/rtems/include/net/if.h
index 4147cd0..23d6cc7 100644
--- a/newlib/libc/sys/rtems/include/net/if.h
+++ b/newlib/libc/sys/rtems/include/net/if.h
@@ -393,7 +393,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;
@@ -467,11 +467,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;
};
/*
@@ -493,7 +493,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;