This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new 2fcb7812d nimble/host: Fix a build warning caused by undeclared 
ARRAY_SIZE macro
2fcb7812d is described below

commit 2fcb7812d765adc6f167c2c6a5c56e2bfaf2c6e9
Author: Guy Mishol <[email protected]>
AuthorDate: Fri Jan 3 17:09:32 2025 +0200

    nimble/host: Fix a build warning caused by undeclared ARRAY_SIZE macro
    
    Use of undeclared ARRAY_SIZE macro causes build warning. Add include to
    "os/util.h" in ble_store_config.c file.
---
 nimble/host/store/config/src/ble_store_config.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nimble/host/store/config/src/ble_store_config.c 
b/nimble/host/store/config/src/ble_store_config.c
index 664b8768b..b800a4ee5 100644
--- a/nimble/host/store/config/src/ble_store_config.c
+++ b/nimble/host/store/config/src/ble_store_config.c
@@ -24,6 +24,7 @@
 #include "syscfg/syscfg.h"
 #include "host/ble_hs.h"
 #include "base64/base64.h"
+#include "os/util.h"
 #include "store/config/ble_store_config.h"
 #include "ble_store_config_priv.h"
 

Reply via email to