summaryrefslogtreecommitdiff
path: root/src/commonlib
diff options
context:
space:
mode:
Diffstat (limited to 'src/commonlib')
-rw-r--r--src/commonlib/bsd/include/commonlib/bsd/clamp.h (renamed from src/commonlib/include/commonlib/clamp.h)8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/commonlib/include/commonlib/clamp.h b/src/commonlib/bsd/include/commonlib/bsd/clamp.h
index e01a107ed4..66513b0337 100644
--- a/src/commonlib/include/commonlib/clamp.h
+++ b/src/commonlib/bsd/include/commonlib/bsd/clamp.h
@@ -1,7 +1,7 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
+/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later */
-#ifndef COMMONLIB_CLAMP_H
-#define COMMONLIB_CLAMP_H
+#ifndef COMMONLIB_BSD_CLAMP_H
+#define COMMONLIB_BSD_CLAMP_H
#include <stdint.h>
@@ -19,4 +19,4 @@ static inline u32 clamp_u32(const u32 min, const u32 val, const u32 max)
return val;
}
-#endif /* COMMONLIB_CLAMP_H */
+#endif /* COMMONLIB_BSD_CLAMP_H */