X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Ffinger.c;h=b2e0460a87f96c0c5a18859f3aacbce757bda5ba;hb=b27eca618acf30cf59bedc41d0d099cf6f3e28b2;hp=6420534984dd706bd3a91ab4cd6d09a77a42a918;hpb=b4d8192e80f3e272b8cc4e4aed4001f33430a11e;p=libucw.git diff --git a/lib/finger.c b/lib/finger.c index 64205349..b2e0460a 100644 --- a/lib/finger.c +++ b/lib/finger.c @@ -1,7 +1,10 @@ /* * Sherlock Library -- String Fingerprints * - * (c) 2001 Martin Mares + * (c) 2001--2003 Martin Mares + * + * This software may be freely distributed and used according to the terms + * of the GNU Lesser General Public License. */ /* @@ -15,7 +18,7 @@ * of our bit string universe (2^96) and c is a small constant. * We set m sufficiently large and expect no collisions * to occur. On the other hand, the worst thing which could - * be cause by a collision is mixing up two strings or labels + * be caused by a collision is mixing up two strings or labels * of two documents which is relatively harmless. */ @@ -23,6 +26,8 @@ #include "lib/index.h" #include "lib/md5.h" +#include + void fingerprint(byte *string, struct fingerprint *fp) {