]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Remove the non-implemented versions of the sandbox _array() functions
authorNick Mathewson <nickm@torproject.org>
Sun, 24 Aug 2014 17:35:30 +0000 (13:35 -0400)
committerNick Mathewson <nickm@torproject.org>
Sun, 24 Aug 2014 17:35:30 +0000 (13:35 -0400)
src/common/sandbox.c

index e215fe29267589c82164cc7272d85f7d9628c8a5..146f4ad5a5fc66a0796276aa4b28023d782d7f68 100644 (file)
@@ -1683,13 +1683,6 @@ sandbox_cfg_allow_open_filename(sandbox_cfg_t **cfg, char *file)
   return 0;
 }
 
-int
-sandbox_cfg_allow_open_filename_array(sandbox_cfg_t **cfg, ...)
-{
-  (void)cfg;
-  return 0;
-}
-
 int
 sandbox_cfg_allow_openat_filename(sandbox_cfg_t **cfg, char *file)
 {
@@ -1697,13 +1690,6 @@ sandbox_cfg_allow_openat_filename(sandbox_cfg_t **cfg, char *file)
   return 0;
 }
 
-int
-sandbox_cfg_allow_openat_filename_array(sandbox_cfg_t **cfg, ...)
-{
-  (void)cfg;
-  return 0;
-}
-
 #if 0
 int
 sandbox_cfg_allow_execve(sandbox_cfg_t **cfg, const char *com)
@@ -1711,13 +1697,6 @@ sandbox_cfg_allow_execve(sandbox_cfg_t **cfg, const char *com)
   (void)cfg; (void)com;
   return 0;
 }
-
-int
-sandbox_cfg_allow_execve_array(sandbox_cfg_t **cfg, ...)
-{
-  (void)cfg;
-  return 0;
-}
 #endif
 
 int
@@ -1727,13 +1706,6 @@ sandbox_cfg_allow_stat_filename(sandbox_cfg_t **cfg, char *file)
   return 0;
 }
 
-int
-sandbox_cfg_allow_stat_filename_array(sandbox_cfg_t **cfg, ...)
-{
-  (void)cfg;
-  return 0;
-}
-
 int
 sandbox_cfg_allow_rename(sandbox_cfg_t **cfg, char *file1, char *file2)
 {