]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fixed compilation error on i386 linux by moving sandbox_cfg_t definition
authorCristian Toader <cristian.matei.toader@gmail.com>
Mon, 9 Sep 2013 21:04:43 +0000 (00:04 +0300)
committerCristian Toader <cristian.matei.toader@gmail.com>
Mon, 9 Sep 2013 21:04:43 +0000 (00:04 +0300)
src/common/sandbox.h

index 279085fc19c99fa854436ea9a4e46b8ff2383083..5df9b111dba755aa6dab80674ad32ce1b3d3a101 100644 (file)
@@ -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);