From 4777d3ee8cf583dd52b0f8dd73ae399df61080f0 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Mon, 31 Jul 2023 22:37:37 -0500 Subject: [PATCH] Cleanup: Byte Dump program defines and comment. --- level_3/byte_dump/c/main/common/string.c | 4 ++-- level_3/byte_dump/c/main/common/string.h | 4 ++-- level_3/byte_dump/c/main/common/type.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/level_3/byte_dump/c/main/common/string.c b/level_3/byte_dump/c/main/common/string.c index 3df6dd2..a8bb525 100644 --- a/level_3/byte_dump/c/main/common/string.c +++ b/level_3/byte_dump/c/main/common/string.c @@ -57,7 +57,7 @@ extern "C" { #endif #endif // _di_byte_dump_padding_s_ -#ifndef _di_byte_dump_parameter_d_ +#ifndef _di_byte_dump_parameter_s_ const f_string_static_t byte_dump_short_binary_s = macro_f_string_static_t_initialize_1(BYTE_DUMP_short_binary_s, 0, BYTE_DUMP_short_binary_s_length); const f_string_static_t byte_dump_short_decimal_s = macro_f_string_static_t_initialize_1(BYTE_DUMP_short_decimal_s, 0, BYTE_DUMP_short_decimal_s_length); const f_string_static_t byte_dump_short_duodecimal_s = macro_f_string_static_t_initialize_1(BYTE_DUMP_short_duodecimal_s, 0, BYTE_DUMP_short_duodecimal_s_length); @@ -93,7 +93,7 @@ extern "C" { const f_string_static_t byte_dump_long_normal_s = macro_f_string_static_t_initialize_1(BYTE_DUMP_long_normal_s, 0, BYTE_DUMP_long_normal_s_length); const f_string_static_t byte_dump_long_simple_s = macro_f_string_static_t_initialize_1(BYTE_DUMP_long_simple_s, 0, BYTE_DUMP_long_simple_s_length); const f_string_static_t byte_dump_long_classic_s = macro_f_string_static_t_initialize_1(BYTE_DUMP_long_classic_s, 0, BYTE_DUMP_long_classic_s_length); -#endif // _di_byte_dump_parameter_d_ +#endif // _di_byte_dump_parameter_s_ #ifdef __cplusplus } // extern "C" diff --git a/level_3/byte_dump/c/main/common/string.h b/level_3/byte_dump/c/main/common/string.h index 0cebe72..b9ab137 100644 --- a/level_3/byte_dump/c/main/common/string.h +++ b/level_3/byte_dump/c/main/common/string.h @@ -142,7 +142,7 @@ extern "C" { /** * The main program parameters. */ -#ifndef _di_byte_dump_parameter_d_ +#ifndef _di_byte_dump_parameter_s_ #define BYTE_DUMP_short_binary_s "b" #define BYTE_DUMP_short_decimal_s "d" #define BYTE_DUMP_short_duodecimal_s "D" @@ -250,7 +250,7 @@ extern "C" { extern const f_string_static_t byte_dump_long_normal_s; extern const f_string_static_t byte_dump_long_simple_s; extern const f_string_static_t byte_dump_long_classic_s; -#endif // _di_byte_dump_parameter_d_ +#endif // _di_byte_dump_parameter_s_ #ifdef __cplusplus } // extern "C" diff --git a/level_3/byte_dump/c/main/common/type.h b/level_3/byte_dump/c/main/common/type.h index c8a07ff..36f071f 100644 --- a/level_3/byte_dump/c/main/common/type.h +++ b/level_3/byte_dump/c/main/common/type.h @@ -71,7 +71,7 @@ extern "C" { * - flag: Flags passed to the main function. * * - status_signal: A status used eclusively by the threaded signal handler. - * - state: The state data used when processing the FSS data. + * - state: The state data used when processing data. * * - first: The first position. * - last: The last position. -- 1.8.3.1