aboutsummaryrefslogtreecommitdiff
path: root/src/common/sandbox.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-09-09 15:14:50 -0400
committerNick Mathewson <nickm@torproject.org>2013-09-09 15:14:50 -0400
commitcc35d8be8472ae7ae1ebc3421ff798ec1d893c06 (patch)
treeb1a19c32569a3724687b2c8f3bcb5ff594d08e2d /src/common/sandbox.h
parent42e6ab0e14bc3f6c71e262b4c9d888f67beb599f (diff)
downloadtor-cc35d8be8472ae7ae1ebc3421ff798ec1d893c06.tar.gz
tor-cc35d8be8472ae7ae1ebc3421ff798ec1d893c06.zip
Fix most of the --enable-gcc-warnings warnings in the sandbox code
Diffstat (limited to 'src/common/sandbox.h')
-rw-r--r--src/common/sandbox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/sandbox.h b/src/common/sandbox.h
index e61e0b3338..a1434cea92 100644
--- a/src/common/sandbox.h
+++ b/src/common/sandbox.h
@@ -191,7 +191,7 @@ int sandbox_cfg_allow_openat_filename_array(sandbox_cfg_t **cfg, ...);
* function that the char* needs to be free-ed, 0 means the pointer does not
* need to be free-ed.
*/
-int sandbox_cfg_allow_execve(sandbox_cfg_t **cfg, char *com);
+int sandbox_cfg_allow_execve(sandbox_cfg_t **cfg, const char *com);
/** Function used to add a series of execve allowed filenames to a supplied
* configuration.