barebox-state: make state_get() definition consistent to its prototype
In 2839d4f6f4 state_get() got an additional argument, but its prototype
in barebox-state.h was never adjusted. Include the file containing
the prototype from the file containing the function definition so that
this bug can be detected by the compiler. Also add the missing argument
to the callers.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent d6ba51f commit 6763c6e9536b1c07609b3ae1a00fb419eb35f3f3
@Sascha Hauer Sascha Hauer authored on 29 Mar 2017
Showing 3 changed files
View
src/barebox-state.c
View
src/barebox-state.h
View
src/keystore-blob.c