]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - common/bucketsort.c
CHG: testing for windows clients to get a higher baudrate. Was 9600, testing 115200...
[proxmark3-svn] / common / bucketsort.c
index c4199803a92ab01b4de5327186f9ca498fbe17bd..2aca2632b6454b94077c043db8eada6ca5361b38 100644 (file)
@@ -1,23 +1,5 @@
 #include "bucketsort.h"
 
-bool bucket_malloc(bucket_array_t bucket) {
-       for (uint32_t i = 0; i < 2; i++) {
-               for (uint32_t j = 0; j <= 0xff; j++) {
-                       bucket[i][j].head = malloc(sizeof(uint32_t)<<14);
-                       if (!bucket[i][j].head) {
-                               return false;
-                       }
-               }
-       }
-       return true;
-}
-
-void bucket_free(bucket_array_t bucket) {
-       for (uint8_t i = 0; i < 2; i++)
-               for (uint8_t j = 0; j <= 0xff; j++)
-                       free(bucket[i][j].head);
-}
-
 void bucket_sort_intersect(uint32_t* const estart, uint32_t* const estop,
                                                                  uint32_t* const ostart, uint32_t* const ostop,
                                                                  bucket_info_t *bucket_info, bucket_array_t bucket)
Impressum, Datenschutz