globalvar: Make locally used function static
Fixes: common/globalvar.c:382:5: warning: no previous prototype for 'globalvar_simple_set' [-Wmissing-prototypes] Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
0dff3e4627
commit
8125f16642
|
@ -379,7 +379,7 @@ void globalvar_set_match(const char *match, const char *val)
|
|||
}
|
||||
}
|
||||
|
||||
int globalvar_simple_set(struct device_d *dev, struct param_d *p, const char *val)
|
||||
static int globalvar_simple_set(struct device_d *dev, struct param_d *p, const char *val)
|
||||
{
|
||||
struct device_d *rdev;
|
||||
const char *pname;
|
||||
|
|
Loading…
Reference in New Issue