Skip to content

Commit ac1c9b9

Browse files
committed
Added implicit none.
1 parent 1949b3c commit ac1c9b9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/zlib.f90

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ module zlib
8989
! uLong adler32(uLong adler, const Bytef *buf, uInt len)
9090
function adler32(adler, buf, len) bind(c, name='adler32')
9191
import :: z_byte, z_uint, z_ulong
92+
implicit none
9293
integer(kind=z_ulong), intent(in), value :: adler
9394
character(kind=z_byte), intent(in) :: buf
9495
integer(kind=z_uint), intent(in), value :: len
@@ -98,6 +99,7 @@ end function adler32
9899
! uLong adler32_z(uLong adler, const Bytef *buf, z_size_t len)
99100
function adler32_z(adler, buf, len) bind(c, name='adler32_z')
100101
import :: z_byte, z_size_t, z_ulong
102+
implicit none
101103
integer(kind=z_ulong), intent(in), value :: adler
102104
character(kind=z_byte), intent(in) :: buf
103105
integer(kind=z_size_t), intent(in), value :: len
@@ -138,6 +140,7 @@ end function compress_bound
138140
! uLong crc32(uLong adler, const Bytef *buf, uInt len)
139141
function crc32(adler, buf, len) bind(c, name='crc32')
140142
import :: z_byte, z_uint, z_ulong
143+
implicit none
141144
integer(kind=z_ulong), intent(in), value :: adler
142145
character(kind=z_byte), intent(in) :: buf
143146
integer(kind=z_uint), intent(in), value :: len
@@ -147,6 +150,7 @@ end function crc32
147150
! uLong crc32_z(uLong adler, const Bytef *buf, z_size_t len)
148151
function crc32_z(adler, buf, len) bind(c, name='crc32_z')
149152
import :: z_byte, z_size_t, z_ulong
153+
implicit none
150154
integer(kind=z_ulong), intent(in), value :: adler
151155
character(kind=z_byte), intent(in) :: buf
152156
integer(kind=z_size_t), intent(in), value :: len

0 commit comments

Comments
 (0)