summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/environment.c4
-rw-r--r--include/environment.h4
2 files changed, 2 insertions, 6 deletions
diff --git a/common/environment.c b/common/environment.c
index 9595986bea..eebccce100 100644
--- a/common/environment.c
+++ b/common/environment.c
@@ -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;
diff --git a/include/environment.h b/include/environment.h
index 120040e0ec..65f254bda2 100644
--- a/include/environment.h
+++ b/include/environment.h
@@ -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)