do not declare unused parameters anymore
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Thu, 30 Oct 2003 15:12:34 +0000 (15:12 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Thu, 30 Oct 2003 15:12:34 +0000 (15:12 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/branches/SYSCALL_SWITCH@324 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/tests/chrootsafe.cc
util-vserver/tests/escaperoot.cc

index 18ba38e..9a5d333 100644 (file)
@@ -39,7 +39,7 @@
 
 #include "vserver.h"
 
-int main (int argc, char *argv[])
+int main (int, char *argv[])
 {
        // This test must fail
        int fd = open ("/",O_RDONLY);
index 1357229..5472088 100644 (file)
@@ -104,7 +104,7 @@ static void dotest (void (*f)())
        }
 }
 
-int main (int argc, char *argv[])
+int main (int, char *[])
 {
        dotest (test1);
        dotest (test2);