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:
7
crc16.h
7
crc16.h
@@ -16,6 +16,9 @@
|
||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef AARU_CHECKSUMS_NATIVE_CRC16_H
|
||||
#define AARU_CHECKSUMS_NATIVE_CRC16_H
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint16_t crc;
|
||||
@@ -178,4 +181,6 @@ const uint16_t crc16_table[8][256] = {
|
||||
AARU_EXPORT crc16_ctx* AARU_CALL crc16_init();
|
||||
AARU_EXPORT int AARU_CALL crc16_update(crc16_ctx* ctx, const uint8_t* data, uint32_t len);
|
||||
AARU_EXPORT int AARU_CALL crc16_final(crc16_ctx* ctx, uint16_t* crc);
|
||||
AARU_EXPORT void AARU_CALL crc16_free(crc16_ctx* ctx);
|
||||
AARU_EXPORT void AARU_CALL crc16_free(crc16_ctx* ctx);
|
||||
|
||||
#endif // AARU_CHECKSUMS_NATIVE_CRC16_H
|
||||
Reference in New Issue
Block a user