ExecContext isn't used in this header file, and everything seems to
build just fine without this typedef. The typedef doesn't really belong
here, and at least my gcc-4.4.6 gives an error on type redefined.
---
src/core/namespace.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/core/namespace.h b/src/core/namespace.h
index 7b886b8..ddb5794 100644
--- a/src/core/namespace.h
+++ b/src/core/namespace.h
@@ -23,8 +23,6 @@
#include <stdbool.h>
-typedef struct ExecContext ExecContext;
-
int setup_tmpdirs(char **tmp_dir, char **var_tmp_dir);
int setup_namespace(char **read_write_dirs,
char **read_only_dirs,
--
1.7.10.1
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel