summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-03-24 09:09:43 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-03-31 13:57:55 +0200
commit85312077889b9cd71519afadcf7ef79e360d84a6 (patch)
treed5435b786059cea4ecadb9d8b38709e35ac6d4cd
parentdd6d70a01092b8473ff5959afcb18b9ac64b3346 (diff)
downloaddt-utils-85312077889b9cd71519afadcf7ef79e360d84a6.tar.gz
state: backend_storage: make locally used variable static
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--src/barebox-state/backend_storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/barebox-state/backend_storage.c b/src/barebox-state/backend_storage.c
index 47a41dd..060127b 100644
--- a/src/barebox-state/backend_storage.c
+++ b/src/barebox-state/backend_storage.c
@@ -48,7 +48,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