git: 33624770a87d - stable/14 - net/if_bridgevar.h: add include guard
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 27 May 2025 07:10:44 UTC
The branch stable/14 has been updated by ivy:
URL: https://cgit.FreeBSD.org/src/commit/?id=33624770a87df04ce4834b03601dd2bdbce8e5ed
commit 33624770a87df04ce4834b03601dd2bdbce8e5ed
Author: Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-04-04 10:59:09 +0000
Commit: Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-05-27 07:09:28 +0000
net/if_bridgevar.h: add include guard
Reviewed by: kp
Approved by: des (mentor)
(cherry picked from commit f6aedb956ef154828c4bfaddaa5d5eb2dda5225c)
---
sys/net/if_bridgevar.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sys/net/if_bridgevar.h b/sys/net/if_bridgevar.h
index 4eed6ec07ade..511ca753858d 100644
--- a/sys/net/if_bridgevar.h
+++ b/sys/net/if_bridgevar.h
@@ -74,6 +74,9 @@
* Data structure and control definitions for bridge interfaces.
*/
+#ifndef _NET_IF_BRIDGEVAR_H_
+#define _NET_IF_BRIDGEVAR_H_
+
#include <sys/types.h>
#include <sys/callout.h>
#include <sys/queue.h>
@@ -323,3 +326,5 @@ extern void (*bridge_dn_p)(struct mbuf *, struct ifnet *);
extern bool (*bridge_member_ifaddrs_p)(void);
#endif /* _KERNEL */
+
+#endif /* _NET_IF_BRIDGEVAR_H_ */