The following commit has been merged in the master branch: commit d31f6bce02d98f203cb3a21775b101409bb96623 Author: simon simon@45894c77-fb22-0410-b583-ff6e7d5dbf6c Date: Sat Nov 7 13:21:17 2009 +0000
remove obsolete functions from bitarray.h (thanks Sven)
git-svn-id: http://downloads.open-mesh.net/svn/batman/trunk/batman-adv-kernelland@1467 45894c77-fb22-0410-b583-ff6e7d5dbf6c
diff --git a/bitarray.h b/bitarray.h index 2f1f523..ec72dd7 100644 --- a/bitarray.h +++ b/bitarray.h @@ -24,9 +24,6 @@ #define TYPE_OF_WORD unsigned long #define WORD_BIT_SIZE (sizeof(TYPE_OF_WORD) * 8)
-/* clear the bits, ready for use */ -void bit_init(TYPE_OF_WORD *seq_bits); - /* returns true if the corresponding bit in the given seq_bits indicates true * and curr_seqno is within range of last_seqno */ uint8_t get_bit_status(TYPE_OF_WORD *seq_bits, uint16_t last_seqno, @@ -46,6 +43,3 @@ char bit_get_packet(TYPE_OF_WORD *seq_bits, int16_t seq_num_diff,
/* count the hamming weight, how many good packets did we receive? */ int bit_packet_count(TYPE_OF_WORD *seq_bits); - -/* print the packet array, for debugging purposes */ -char *bit_print(TYPE_OF_WORD *seq_bits);