git: 616a6c9f66cf - main - net/if.h: fix style of if_t definition
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 May 2023 04:37:32 UTC
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