From 2c3cf8d86cd477f1aab35cc6edbd85d224fd9547 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Thu, 12 Nov 2020 20:33:01 -0600 Subject: [PATCH] Update: add missing 'const'. --- level_3/byte_dump/c/private-byte_dump.c | 2 +- level_3/byte_dump/c/private-byte_dump.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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_ /** -- 1.8.3.1