fixed compilation error on i386 linux by moving sandbox_cfg_t definition

This commit is contained in:
Cristian Toader 2013-09-10 00:04:43 +03:00
parent d91c776f61
commit 3802cae959

View File

@ -85,6 +85,8 @@ struct sandbox_cfg_elem {
/** Next element of the configuration*/ /** Next element of the configuration*/
struct sandbox_cfg_elem *next; 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 * Structure used for keeping a linked list of getaddrinfo pre-recorded
@ -132,9 +134,6 @@ typedef struct {
#endif // USE_LIBSECCOMP #endif // USE_LIBSECCOMP
/** Typedef to structure used to manage a sandbox configuration. */
typedef struct sandbox_cfg_elem sandbox_cfg_t;
#ifdef USE_LIBSECCOMP #ifdef USE_LIBSECCOMP
/** Pre-calls getaddrinfo in order to pre-record result. */ /** Pre-calls getaddrinfo in order to pre-record result. */
int sandbox_add_addrinfo(const char *addr); int sandbox_add_addrinfo(const char *addr);