From 042ff338c306193a31dc482d991087c69571a475 Mon Sep 17 00:00:00 2001 From: fc_botelho Date: Thu, 12 Mar 2009 02:20:33 +0000 Subject: [PATCH] *** empty log message *** --- src/Makefile.am | 2 +- src/bitbool.c | 3 --- src/bitbool.h | 6 +++++- 3 files changed, 6 insertions(+), 5 deletions(-) delete mode 100644 src/bitbool.c diff --git a/src/Makefile.am b/src/Makefile.am index b79b496..892be35 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,7 +2,7 @@ bin_PROGRAMS = cmph lib_LTLIBRARIES = libcmph.la include_HEADERS = cmph.h cmph_types.h libcmph_la_SOURCES = debug.h\ - bitbool.h bitbool.c\ + bitbool.h\ cmph_types.h\ hash.h hash_state.h hash.c\ jenkins_hash.h jenkins_hash.c\ diff --git a/src/bitbool.c b/src/bitbool.c deleted file mode 100644 index a97b1ae..0000000 --- a/src/bitbool.c +++ /dev/null @@ -1,3 +0,0 @@ -#include "bitbool.h" -const cmph_uint8 bitmask[] = { 1, 1 << 1, 1 << 2, 1 << 3, 1 << 4, 1 << 5, 1 << 6, 1 << 7 }; -const cmph_uint8 valuemask[] = { 0xfc, 0xf3, 0xcf, 0x3f}; diff --git a/src/bitbool.h b/src/bitbool.h index c46be05..6c92b8b 100644 --- a/src/bitbool.h +++ b/src/bitbool.h @@ -1,7 +1,11 @@ #ifndef _CMPH_BITBOOL_H__ #define _CMPH_BITBOOL_H__ #include "cmph_types.h" -extern const cmph_uint8 bitmask[]; + +static const cmph_uint8 bitmask[] = { 1, 1 << 1, 1 << 2, 1 << 3, 1 << 4, 1 << 5, 1 << 6, 1 << 7 }; +static const cmph_uint8 valuemask[] = { 0xfc, 0xf3, 0xcf, 0x3f}; + +// extern const cmph_uint8 bitmask[]; /** \def GETBIT(array, i)