summaryrefslogtreecommitdiff
path: root/lib/crc.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2018-12-19 22:58:32 +0100
committerChristoph Berg <myon@debian.org>2018-12-19 22:58:32 +0100
commite0737c56c1e384e05064a0c6e1ac46979371041b (patch)
treea0123d694a2d36c43dabdf0a3907392fce11d457 /lib/crc.f90
parentb4aebf2d137b892f53503b13785ecae900062ff7 (diff)
New upstream version 2.0.0+repackupstream/2.0.0+repack
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