]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - common/bucketsort.h
chg: removed a useless clearing of key_count. From @matrix https://github.com/matrix...
[proxmark3-svn] / common / bucketsort.h
index 399277c128cbeb70d9259e01dba198df9971e432..be504508adef3a7380df5612177c3c52237941a5 100644 (file)
@@ -1,8 +1,9 @@
 #ifndef BUCKETSORT_H__
 #define BUCKETSORT_H__
 #ifndef BUCKETSORT_H__
 #define BUCKETSORT_H__
+
 #include <stdint.h>
 #include <stdint.h>
-#include <stdbool.h>
 #include <stdlib.h>
 #include <stdlib.h>
+
 typedef struct bucket {
        uint32_t *head;
        uint32_t *bp;
 typedef struct bucket {
        uint32_t *head;
        uint32_t *bp;
@@ -17,9 +18,6 @@ typedef struct bucket_info {
                uint32_t numbuckets;
 } bucket_info_t;
 
                uint32_t numbuckets;
 } bucket_info_t;
 
-
-bool bucket_malloc(bucket_array_t bucket);
-void bucket_free(bucket_array_t bucket);
 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);
 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