Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 2023 04:37:32 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 616a6c9f66cf - main - net/if.h: fix style of if_t definition
Message-ID:  <202305170437.34H4bWqU013324@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=616a6c9f66cf2e08db0928fba0152dcc28cedd75

commit 616a6c9f66cf2e08db0928fba0152dcc28cedd75
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-05-17 01:21:57 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-05-17 03:30:59 +0000

    net/if.h: fix style of if_t definition
    
    Reviewed by:    jhibbits
    Sponsored by:   NVidia networking
    Differential revision:  https://reviews.freebsd.org/D40125
---
 sys/net/if.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/net/if.h b/sys/net/if.h
index da3d25f2b226..4003b33e5de4 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -655,7 +655,7 @@ struct ifdownreason {
  * Opaque interface structure.
  */
 
-typedef struct ifnet * if_t;
+typedef struct ifnet *if_t;
 
 #ifdef _KERNEL
 #ifdef MALLOC_DECLARE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305170437.34H4bWqU013324>