summaryrefslogtreecommitdiff
path: root/lib/crc.f90
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crc.f90')
-rw-r--r--lib/crc.f9014
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/crc.f90 b/lib/crc.f90
index 423f5492..f0cd17e3 100644
--- a/lib/crc.f90
+++ b/lib/crc.f90
@@ -10,7 +10,7 @@ module crc
integer (c_int), value :: length
end function crc14
- function crc14_check (data, length) bind (C, name="crc16_check")
+ function crc14_check (data, length) bind (C, name="crc14_check")
use, intrinsic :: iso_c_binding, only: c_bool, c_ptr, c_int
implicit none
logical (c_bool) :: crc14_check
@@ -18,21 +18,21 @@ module crc
integer (c_int), value :: length
end function crc14_check
- function crc12 (data, length) bind (C, name="crc12")
+ function crc13 (data, length) bind (C, name="crc13")
use, intrinsic :: iso_c_binding, only: c_short, c_ptr, c_int
implicit none
- integer (c_short) :: crc12
+ integer (c_short) :: crc13
type (c_ptr), value :: data
integer (c_int), value :: length
- end function crc12
+ end function crc13
- function crc12_check (data, length) bind (C, name="crc12_check")
+ function crc13_check (data, length) bind (C, name="crc13_check")
use, intrinsic :: iso_c_binding, only: c_bool, c_ptr, c_int
implicit none
- logical (c_bool) :: crc12_check
+ logical (c_bool) :: crc13_check
type (c_ptr), value :: data
integer (c_int), value :: length
- end function crc12_check
+ end function crc13_check
function crc10 (data, length) bind (C, name="crc10")
use, intrinsic :: iso_c_binding, only: c_short, c_ptr, c_int