diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-04-14 02:48:36 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-04-14 02:48:36 +0000 |
commit | d07e7fd5f51e4b3f19a5fd56d161b6ad8adcb814 (patch) | |
tree | 9a40771a618be27301f4b7745c2a9ed9b5c7f03a /tests/Naming_Test.cpp | |
parent | 42020a58a5dc6063f4814b27e872ec7c045e21f6 (diff) | |
download | ATCD-d07e7fd5f51e4b3f19a5fd56d161b6ad8adcb814.tar.gz |
*** empty log message ***
Diffstat (limited to 'tests/Naming_Test.cpp')
-rw-r--r-- | tests/Naming_Test.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/Naming_Test.cpp b/tests/Naming_Test.cpp index 8951b2051ba..df39a4fe2f1 100644 --- a/tests/Naming_Test.cpp +++ b/tests/Naming_Test.cpp @@ -27,27 +27,6 @@ static char name[BUFSIZ]; static char value[BUFSIZ]; static char type[BUFSIZ]; -static void -randomize (int array[], size_t size) -{ - size_t i; - - for (i = 0; i < size; i++) - array [i] = i; - - ACE_OS::srand (ACE_OS::time (0L)); - - // Generate an array of random numbers from 0 .. size - 1. - - for (i = 0; i < size; i++) - { - int index = ACE_OS::rand() % size--; - int temp = array [index]; - array [index] = array [size]; - array [size] = temp; - } -} - static void print_time (ACE_Profile_Timer &timer, const char *test) |