From: Kevin Day Date: Tue, 10 Sep 2019 00:17:20 +0000 (-0500) Subject: Bugfix: put '} // extern C' into correct location X-Git-Tag: 0.5.0~433 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=11290d3615fdd2b9c2cf7df11b896586efc59781;p=fll Bugfix: put '} // extern C' into correct location --- 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