[style] converge some common utils (#10982)

This commit converges common utils in core and lib to avoid duplicate
code and conflicts caused by two common utils are included by some
units.
This commit is contained in:
Yakun Xu
2024-12-04 08:39:44 -08:00
committed by GitHub
parent 2868c9ce6b
commit f0d6007cc3
24 changed files with 408 additions and 556 deletions
+1 -1
View File
@@ -27,7 +27,7 @@
*/
// Disable OpenThread's own new implementation to avoid duplicate definition
#define OT_CORE_COMMON_NEW_HPP_
#define OT_INCLUDE_COMMON_NEW_HPP_
#include "test_platform.h"
#include <map>