git: f6aedb956ef1 - main - net/if_bridgevar.h: add include guard
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 10 Apr 2025 18:53:35 UTC
The branch main has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=f6aedb956ef154828c4bfaddaa5d5eb2dda5225c
commit f6aedb956ef154828c4bfaddaa5d5eb2dda5225c
Author: Lexi Winter <lexi@hemlock.eden.le-fay.org>
AuthorDate: 2025-04-04 10:59:09 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2025-04-10 16:51:26 +0000
net/if_bridgevar.h: add include guard
Reviewed by: kp
---
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 1f762bc4ecf9..048d9fb1a18f 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>
@@ -324,3 +327,5 @@ extern bool (*bridge_same_p)(const void *, const void *);
extern void *(*bridge_get_softc_p)(struct ifnet *);
#endif /* _KERNEL */
+
+#endif /* _NET_IF_BRIDGEVAR_H_ */