[PATCH 29/42] state: backend_storage: make locally used variable static

Sascha Hauer s.hauer at pengutronix.de
Fri Mar 31 00:03:33 PDT 2017


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 common/state/backend_storage.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/state/backend_storage.c b/common/state/backend_storage.c
index bc531ef991..8d0f285f77 100644
--- a/common/state/backend_storage.c
+++ b/common/state/backend_storage.c
@@ -47,7 +47,7 @@
  * when storing a new state we can just write all buckets in order.
  */
 
-const unsigned int min_copies_written = 1;
+static const unsigned int min_copies_written = 1;
 
 /**
  * state_storage_write - Writes the given data to the storage
-- 
2.11.0




More information about the barebox mailing list