From: Kevin Day Date: Fri, 13 Nov 2020 02:33:01 +0000 (-0600) Subject: Update: add missing 'const'. X-Git-Tag: 0.5.2~77 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=2c3cf8d86cd477f1aab35cc6edbd85d224fd9547;p=fll Update: add missing 'const'. --- diff --git a/level_3/byte_dump/c/private-byte_dump.c b/level_3/byte_dump/c/private-byte_dump.c index 1005073..32318cb 100644 --- a/level_3/byte_dump/c/private-byte_dump.c +++ b/level_3/byte_dump/c/private-byte_dump.c @@ -6,7 +6,7 @@ extern "C" { #endif #ifndef _di_byte_dump_file_ - f_return_status byte_dump_file(const byte_dump_data_t data, const f_string_t file_name, f_file_t file) { + f_return_status byte_dump_file(const byte_dump_data_t data, const f_string_t file_name, const f_file_t file) { f_status_t status = F_none; uint64_t position = 0; diff --git a/level_3/byte_dump/c/private-byte_dump.h b/level_3/byte_dump/c/private-byte_dump.h index 91657d3..309dc4e 100644 --- a/level_3/byte_dump/c/private-byte_dump.h +++ b/level_3/byte_dump/c/private-byte_dump.h @@ -70,7 +70,7 @@ extern "C" { * F_failure (with error bit) on failure, usually when read() fails. */ #ifndef _di_byte_dump_file_ - extern f_return_status byte_dump_file(const byte_dump_data_t data, const f_string_t file_name, f_file_t file) f_gcc_attribute_visibility_internal; + extern f_return_status byte_dump_file(const byte_dump_data_t data, const f_string_t file_name, const f_file_t file) f_gcc_attribute_visibility_internal; #endif // _di_byte_dump_file_ /**