]> mj.ucw.cz Git - libucw.git/blobdiff - lib/bitsig.c
Merged obj2buck.h and buck2obj.h to object.h, the number of includes
[libucw.git] / lib / bitsig.c
index 2e8d5c1f486f4c05a39cefd9602dce5c76131cbe..ed510fad0d4988c2fe9679d482f89bee715a9fde 100644 (file)
@@ -36,6 +36,9 @@
  *     We leave L and an upper bound for N as parameters set during
  *     creation of the structure. Currently, the structure is limited
  *     to 4 Gb = 512 MB.
  *     We leave L and an upper bound for N as parameters set during
  *     creation of the structure. Currently, the structure is limited
  *     to 4 Gb = 512 MB.
+ *
+ *     This software may be freely distributed and used according to the terms
+ *     of the GNU Lesser General Public License.
  */
 
 #include "lib/lib.h"
  */
 
 #include "lib/lib.h"
@@ -43,6 +46,7 @@
 #include "lib/md5.h"
 
 #include <string.h>
 #include "lib/md5.h"
 
 #include <string.h>
+#include <stdlib.h>
 
 struct bitsig {
   uns l, m, n, maxn, max_m_mult;
 
 struct bitsig {
   uns l, m, n, maxn, max_m_mult;
@@ -73,6 +77,12 @@ bitsig_init(uns perrlog, uns maxn)
   return b;
 }
 
   return b;
 }
 
+void
+bitsig_free(struct bitsig *b)
+{
+  xfree(b);
+}
+
 static void
 bitsig_hash_init(struct bitsig *b, byte *item)
 {
 static void
 bitsig_hash_init(struct bitsig *b, byte *item)
 {