Browse Source

* bitmap.* : bitmap_compare

master
Alex 'AdUser' Z 11 years ago
parent
commit
18f5fb64ae
  1. 4
      src/bitmap.c
  2. 4
      src/bitmap.h

4
src/bitmap.c

@ -38,7 +38,9 @@ unsigned char dict[256] = {
/* F_ */ 4, 5, 5, 6, 5, 6, 6, 7, 5, 6, 6, 7, 6, 7, 7, 8,
};
int bitmap_compare(const unsigned char *a, const unsigned char *b)
int
bitmap_compare(const unsigned char *a,
const unsigned char *b)
{
unsigned char diff = 0;
size_t i = 0;

4
src/bitmap.h

@ -5,7 +5,9 @@
typedef unsigned char bitmap_t[BITMAP_SIZE];
int bitmap_compare(const unsigned char *a, const unsigned char *b);
int
bitmap_compare(const unsigned char *a,
const unsigned char *b);
#endif
#define HAS_BITMAP_H 1

Loading…
Cancel
Save