aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/crc24.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/openbsc/crc24.h')
-rw-r--r--include/openbsc/crc24.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/openbsc/crc24.h b/include/openbsc/crc24.h
index 358fcb58..756638c0 100644
--- a/include/openbsc/crc24.h
+++ b/include/openbsc/crc24.h
@@ -1,8 +1,10 @@
#ifndef _CRC24_H
#define _CRC24_H
+#include <stdint.h>
+
#define INIT_CRC24 0xffffff
-u_int32_t crc24_calc(u_int32_t fcs, u_int8_t *cp, unsigned int len);
+uint32_t crc24_calc(uint32_t fcs, uint8_t *cp, unsigned int len);
#endif