From: Martin Mares Date: Sun, 18 Mar 2012 22:35:06 +0000 (+0100) Subject: CRC: Added inclusion guards X-Git-Tag: v5.99~183 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=4b1cb0df244405c720734176ffbff9195cebc118;p=libucw.git CRC: Added inclusion guards --- diff --git a/ucw/crc.h b/ucw/crc.h index a5134267..73363ddb 100644 --- a/ucw/crc.h +++ b/ucw/crc.h @@ -16,6 +16,9 @@ * Adapted for LibUCW by Martin Mares in 2012. */ +#ifndef _UCW_CRC_H +#define _UCW_CRC_H + /** * Internal CRC calculator context. * You should use it just as an opaque handle only. @@ -65,3 +68,5 @@ static inline u32 crc32_final(crc32_context *ctx) * return crc32_final(&ctx); */ u32 crc32_hash_buffer(const byte *buf, uns len); + +#endif