mirror of
https://github.com/aaru-dps/Aaru.Checksums.Native.git
synced 2025-12-16 11:14:29 +00:00
Fix header guards.
This commit is contained in:
@@ -16,6 +16,9 @@
|
||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef AARU_CHECKSUMS_NATIVE_CRC16_CCITT_H
|
||||
#define AARU_CHECKSUMS_NATIVE_CRC16_CCITT_H
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint16_t crc;
|
||||
@@ -177,4 +180,6 @@ const uint16_t crc16_ccitt_table[8][256] = {
|
||||
AARU_EXPORT crc16_ccitt_ctx* AARU_CALL crc16_ccitt_init();
|
||||
AARU_EXPORT int AARU_CALL crc16_ccitt_update(crc16_ccitt_ctx* ctx, const uint8_t* data, uint32_t len);
|
||||
AARU_EXPORT int AARU_CALL crc16_ccitt_final(crc16_ccitt_ctx* ctx, uint16_t* crc);
|
||||
AARU_EXPORT void AARU_CALL crc16_ccitt_free(crc16_ccitt_ctx* ctx);
|
||||
AARU_EXPORT void AARU_CALL crc16_ccitt_free(crc16_ccitt_ctx* ctx);
|
||||
|
||||
#endif // AARU_CHECKSUMS_NATIVE_CRC16_H
|
||||
|
||||
Reference in New Issue
Block a user