From 11290d3615fdd2b9c2cf7df11b896586efc59781 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Mon, 9 Sep 2019 19:17:20 -0500 Subject: [PATCH] Bugfix: put '} // extern C' into correct location --- level_3/byte_dump/c/private-byte_dump.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/level_3/byte_dump/c/private-byte_dump.h b/level_3/byte_dump/c/private-byte_dump.h index 180fa57..e0c8f06 100644 --- a/level_3/byte_dump/c/private-byte_dump.h +++ b/level_3/byte_dump/c/private-byte_dump.h @@ -12,10 +12,6 @@ extern "C" { #endif -#ifdef __cplusplus -} // extern "C" -#endif - /** * Dump the contents of the file to standard out. * @@ -70,7 +66,6 @@ extern "C" { extern f_bool byte_dump_print_character_fragment(const byte_dump_data data, const f_utf_string_dynamic characters, const uint8_t invalid[], const int8_t width_utf, const int8_t byte_current, uint8_t *previous_bytes, uint8_t *previous_invalid, uint8_t *column, uint64_t *row); #endif // _di_byte_dump_print_character_fragment_ - /** * Print the text representation alongside the hex display. * @@ -114,4 +109,8 @@ extern "C" { extern void byte_dump_print_file_error(const fl_color_context context, const f_status status, const f_string function, const f_string file_name); #endif // _di_byte_dump_print_file_error_ +#ifdef __cplusplus +} // extern "C" +#endif + #endif // _PRIVATE_byte_dump_h -- 1.8.3.1