summaryrefslogtreecommitdiffstats
path: root/common/state/state_variables.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-09-14 12:38:25 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-09-20 10:29:06 +0200
commit1d02283b2f1203db3b7be91ee2588b7340dfcbcf (patch)
treeaf1ca5d647221df9b2d6f91777f3c8c9faaa9af1 /common/state/state_variables.c
parent3a690e4d6976517315f1dd73334920d749a28755 (diff)
downloadbarebox-1d02283b2f1203db3b7be91ee2588b7340dfcbcf.tar.gz
barebox-1d02283b2f1203db3b7be91ee2588b7340dfcbcf.tar.xz
state: make locally used function static
state_set_dirty() is only used in one file, make it static. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/state/state_variables.c')
-rw-r--r--common/state/state_variables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/state/state_variables.c b/common/state/state_variables.c
index 4f8246249d..6f2b1ae107 100644
--- a/common/state/state_variables.c
+++ b/common/state/state_variables.c
@@ -34,7 +34,7 @@
* @param priv
* @return
*/
-int state_set_dirty(struct param_d *p, void *priv)
+static int state_set_dirty(struct param_d *p, void *priv)
{
struct state *state = priv;