X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/f7061dad5d93b445ab19a7c13e1813bf36061a73..77d943105c69c4dc44a2e8d882a1fe8a69a94a2c:/crc32.c diff --git a/crc32.c b/crc32.c index c500a59..7077fa6 100644 --- a/crc32.c +++ b/crc32.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: crc32.c,v 1.1 2001/04/19 18:26:32 mdw Exp $ + * $Id: crc32.c,v 1.2 2004/03/21 23:52:58 mdw Exp $ * * Generic hash wrapper for CRC32 * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: crc32.c,v $ + * Revision 1.2 2004/03/21 23:52:58 mdw + * Ooops, how did that slip by? Fix return type of @ghcopy@. + * * Revision 1.1 2001/04/19 18:26:32 mdw * Add CRC as another hash function. * @@ -85,7 +88,7 @@ static void ghdestroy(ghash *h) S_DESTROY(g); } -static void ghcopy(ghash *h) +static ghash *ghcopy(ghash *h) { gctx *g = (gctx *)h; gctx *gg = S_CREATE(gctx);