svn commit: r368645 - stable/11/sys/net

Brooks Davis <[email protected]> Mon, 14 Dec 2020 22:03:13 +0000 (UTC)
Newsgroups gmane.os.freebsd.devel.cvs
Message-ID <202012142203.0BEM3DYF055204__45598.4283749544$1607983399$gmane$org@repo.freebsd.org>
Author: brooks
Date: Mon Dec 14 22:03:13 2020
New Revision: 368645
URL: https://svnweb.freebsd.org/changeset/base/368645

Log:
  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".

Modified:
  stable/11/sys/net/if.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/net/if.h
==============================================================================
--- stable/11/sys/net/if.h	Mon Dec 14 21:56:15 2020	(r368644)
+++ stable/11/sys/net/if.h	Mon Dec 14 22:03:13 2020	(r368645)
@@ -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;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"