aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristian Toader <cristian.matei.toader@gmail.com>2013-09-10 00:04:43 +0300
committerCristian Toader <cristian.matei.toader@gmail.com>2013-09-10 00:04:43 +0300
commit3802cae9597fa417ceec428215159a65195e0f7a (patch)
treee4f76dcab4f9fb5b58a78b5cb8986681529be6a8
parentd91c776f6133bc8af899889b3ba5af682608fd31 (diff)
downloadtor-3802cae9597fa417ceec428215159a65195e0f7a.tar
tor-3802cae9597fa417ceec428215159a65195e0f7a.tar.gz
fixed compilation error on i386 linux by moving sandbox_cfg_t definition
-rw-r--r--src/common/sandbox.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common/sandbox.h b/src/common/sandbox.h
index 279085fc1..5df9b111d 100644
--- a/src/common/sandbox.h
+++ b/src/common/sandbox.h
@@ -85,6 +85,8 @@ struct sandbox_cfg_elem {
/** Next element of the configuration*/
struct sandbox_cfg_elem *next;
};
+/** Typedef to structure used to manage a sandbox configuration. */
+typedef struct sandbox_cfg_elem sandbox_cfg_t;
/**
* Structure used for keeping a linked list of getaddrinfo pre-recorded
@@ -132,9 +134,6 @@ typedef struct {
#endif // USE_LIBSECCOMP
-/** Typedef to structure used to manage a sandbox configuration. */
-typedef struct sandbox_cfg_elem sandbox_cfg_t;
-
#ifdef USE_LIBSECCOMP
/** Pre-calls getaddrinfo in order to pre-record result. */
int sandbox_add_addrinfo(const char *addr);