9
0
Fork 0

make file_*_action static

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2013-01-20 13:12:27 +01:00
parent 5531abd16d
commit 00df6b4637
2 changed files with 2 additions and 6 deletions

View File

@ -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;

View File

@ -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)