From 5531abd16dc061cd3272884ada424b33d583f155 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Sun, 20 Jan 2013 13:10:01 +0100 Subject: move struct action_data to the only file using it Signed-off-by: Sascha Hauer --- common/environment.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'common/environment.c') diff --git a/common/environment.c b/common/environment.c index e11cd9dd47..9595986bea 100644 --- a/common/environment.c +++ b/common/environment.c @@ -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, -- cgit v1.2.3