9
0
Fork 0

move struct action_data to the only file using it

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

View File

@ -41,6 +41,13 @@
#define EXPORT_SYMBOL(x)
#endif
struct action_data {
int fd;
const char *base;
void *writep;
};
#define PAD4(x) ((x + 3) & ~3)
char *default_environment_path = "/dev/env0";
int file_size_action(const char *filename, struct stat *statbuf,

View File

@ -87,14 +87,6 @@ int file_save_action(const char *, struct stat *, void *, int);
int envfs_load(char *filename, char *dirname, unsigned flags);
int envfs_save(char *filename, char *dirname);
/* This part is used for the host and the target */
struct action_data {
int fd;
const char *base;
void *writep;
};
#define PAD4(x) ((x + 3) & ~3)
#endif /* _ENVIRONMENT_H_ */
/**