diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-04-16 12:24:08 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-04-16 22:03:08 -0400 |
commit | f268101a612bd637e270914365271d08fc5813db (patch) | |
tree | 1c917809c0d0d7925693ab2fbc1b548e42246407 /src/common/sandbox.h | |
parent | 6807b76a5e004a2d6c9f46f8b4dec0c90007996c (diff) | |
download | tor-f268101a612bd637e270914365271d08fc5813db.tar.gz tor-f268101a612bd637e270914365271d08fc5813db.zip |
Clean up sandbox structures a bit
Drop pindex,pindex2 as unused.
Admit a type to avoid using a void*
Diffstat (limited to 'src/common/sandbox.h')
-rw-r--r-- | src/common/sandbox.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/common/sandbox.h b/src/common/sandbox.h index 8fcd221ef5..c4144dbb2e 100644 --- a/src/common/sandbox.h +++ b/src/common/sandbox.h @@ -65,10 +65,6 @@ typedef struct smp_param { /** syscall associated with parameter. */ int syscall; - /** parameter index. */ - int pindex; - /** parameter index, second one. */ - int pindex2; /** parameter value. */ intptr_t value; /** parameter value, second argument. */ @@ -89,7 +85,7 @@ struct sandbox_cfg_elem { SB_IMPL implem; /** Configuration parameter. */ - void *param; + smp_param_t *param; /** Next element of the configuration*/ struct sandbox_cfg_elem *next; |