net/sff8472.h: add double-include protection

Reviewed by:	emaste
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D50051
This commit is contained in:
Konstantin Belousov
2025-04-28 04:43:18 +03:00
parent 34b43f4b26
commit 6cb5f1629e
+5
View File
@@ -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
@@ -526,3 +529,5 @@ static const char *sff_8024_id[SFF_8024_ID_LAST + 1] = {
*/
#define SFF_8472_POWER_FACTOR 10000.0
#endif