summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Grindal Bakken <hgb@ifi.uio.no>2013-04-17 18:08:37 +0200
committerKay Sievers <kay@vrfy.org>2013-04-17 18:27:46 +0200
commit05b9b83ad3a990f1bbe417c8da377874e1e80539 (patch)
treeb8fe56ea4a0057408866040a2db2e9e51d5bb0ff
parentcddf148028f525be8176e7f1cbbf4f862bd287f6 (diff)
core: Remove unnecessary typedef
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.
-rw-r--r--src/core/namespace.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/namespace.h b/src/core/namespace.h
index 7b886b8abf..ddb579468d 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,