git: a75f920158c7 - stable/14 - net/sff8472.h: add double-include protection
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 May 2025 15:20:12 UTC
The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=a75f920158c7f163ba1ebde1eb4ff42244d7a82d commit a75f920158c7f163ba1ebde1eb4ff42244d7a82d Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2025-04-28 01:43:18 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2025-05-03 15:19:41 +0000 net/sff8472.h: add double-include protection (cherry picked from commit 6cb5f1629e6f89a468e34625fd4a35ce4585500f) --- sys/net/sff8472.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/net/sff8472.h b/sys/net/sff8472.h index a33dfed84b0b..4661ffd4cbd7 100644 --- a/sys/net/sff8472.h +++ b/sys/net/sff8472.h @@ -26,6 +26,9 @@ * SUCH DAMAGE. */ +#ifndef _NET_SFF8472_H_ +#define _NET_SFF8472_H_ + /* * The following set of constants are from Document SFF-8472 * "Diagnostic Monitoring Interface for Optical Transceivers" revision @@ -524,3 +527,5 @@ static const char *sff_8024_id[SFF_8024_ID_LAST + 1] = { */ #define SFF_8472_POWER_FACTOR 10000.0 + +#endif