Inline my uuid_is_null() implementation in a header file
This either needs to be static, or forced inline, or in a separate
source file. Given that we only have one function in this
UuidCompatibility.h, I think forced inline for the handful of uses
of it may be best.
GitOrigin-RevId: 318454a8e5fce57a92573f42e39f148adcedc5d4
diff --git a/source/Utility/UuidCompatibility.h b/source/Utility/UuidCompatibility.h
index fe4aed0..40ebc1d 100644
--- a/source/Utility/UuidCompatibility.h
+++ b/source/Utility/UuidCompatibility.h
@@ -15,7 +15,7 @@
typedef unsigned char uuid_t[16];
// Return 1 if uuid is null, that is, all zeroes.
-int uuid_is_null(uuid_t uuid) {
+inline __attribute__((always_inline)) int uuid_is_null(uuid_t uuid) {
for (int i = 0; i < 16; i++)
if (uuid[i])
return 0;