make file_*_action static
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
5531abd16d
commit
00df6b4637
|
@ -50,7 +50,7 @@ struct action_data {
|
|||
|
||||
char *default_environment_path = "/dev/env0";
|
||||
|
||||
int file_size_action(const char *filename, struct stat *statbuf,
|
||||
static int file_size_action(const char *filename, struct stat *statbuf,
|
||||
void *userdata, int depth)
|
||||
{
|
||||
struct action_data *data = userdata;
|
||||
|
@ -75,7 +75,7 @@ int file_size_action(const char *filename, struct stat *statbuf,
|
|||
return 1;
|
||||
}
|
||||
|
||||
int file_save_action(const char *filename, struct stat *statbuf,
|
||||
static int file_save_action(const char *filename, struct stat *statbuf,
|
||||
void *userdata, int depth)
|
||||
{
|
||||
struct action_data *data = userdata;
|
||||
|
|
|
@ -77,10 +77,6 @@ extern char *default_environment_path;
|
|||
|
||||
int export(const char *);
|
||||
|
||||
struct stat;
|
||||
int file_size_action(const char *, struct stat *, void *, int);
|
||||
int file_save_action(const char *, struct stat *, void *, int);
|
||||
|
||||
#endif /* __BAREBOX__ */
|
||||
|
||||
#define ENV_FLAG_NO_OVERWRITE (1 << 0)
|
||||
|
|
Loading…
Reference in New Issue