Commit 3aa6cee4 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5464 had to move a few more things

git-svn-id: file:///svn/toku/tokudb@48679 c7de825b-a66e-492c-adef-691d508d4ae1
parent 75e38b2d
...@@ -250,7 +250,7 @@ static void timeit_with_thread_local_pointer (const char *description, void* (*f ...@@ -250,7 +250,7 @@ static void timeit_with_thread_local_pointer (const char *description, void* (*f
static int verboseness_cmdarg=0; static int verboseness_cmdarg=0;
static bool time_cmdarg=false; static bool time_cmdarg=false;
static void parse_args (int argc, const char *argv[]) { static void parse_args (int argc, char *const argv[]) {
const char *progname = argv[1]; const char *progname = argv[1];
argc--; argv++; argc--; argv++;
while (argc>0) { while (argc>0) {
...@@ -374,7 +374,7 @@ static void do_testit2 (void) ...@@ -374,7 +374,7 @@ static void do_testit2 (void)
pt_join(t, NULL); pt_join(t, NULL);
} }
int test_main (int argc, const char *argv[]) { int test_main (int argc, char *const argv[]) {
parse_args(argc, argv); parse_args(argc, argv);
if (time_cmdarg) { if (time_cmdarg) {
do_timeit(); do_timeit();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment