Chore: fixes compiling errors

This commit is contained in:
李通洲
2026-09-18 11:21:36 +08:00
parent 2fb7fabc4d
commit ecbf218d6e
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -100,5 +100,5 @@ typedef const FFSmbiosHeader* FFSmbiosHeaderTable[FF_SMBIOS_TYPE__MAX];
[[nodiscard]] const FFSmbiosHeaderTable* ffGetSmbiosHeaderTable(void);
#ifdef __linux__
[[gnu::nonnull(1, 2, 3), nodiscard]] bool ffGetSmbiosValue(const char* devicesPath, const char* classPath, FFstrbuf* buffer);
[[gnu::nonnull(1, 2, 3)]] bool ffGetSmbiosValue(const char* devicesPath, const char* classPath, FFstrbuf* buffer);
#endif