From 78458010dce98501c1c63be75b7cc36982641445 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sun, 28 Jan 2024 00:29:10 -0600 Subject: [PATCH] Cleanup: Comments in f_console and redundant header includes in tests. --- level_0/f_console/c/console.h | 6 +++--- level_0/f_console/tests/unit/c/test-console-environment_process.c | 1 - level_0/f_console/tests/unit/c/test-console-identify.c | 1 - .../f_console/tests/unit/c/test-console-parameter_prioritize_left.c | 1 - .../tests/unit/c/test-console-parameter_prioritize_right.c | 1 - level_0/f_console/tests/unit/c/test-console-parameter_process.c | 1 - level_0/f_console/tests/unit/c/test-console-parameters_delete.c | 1 - level_0/f_console/tests/unit/c/test-console-parameters_destroy.c | 1 - 8 files changed, 3 insertions(+), 10 deletions(-) diff --git a/level_0/f_console/c/console.h b/level_0/f_console/c/console.h index b1fbba9..2d1a2ce 100644 --- a/level_0/f_console/c/console.h +++ b/level_0/f_console/c/console.h @@ -171,13 +171,13 @@ extern "C" { * F_failure (with error bit) if width is not long enough to convert when processing arguments as UTF-8. * F_interrupt (with error bit) if an interrupt is received via the state.interrupt callback. * F_parameter (with error bit) if a parameter is invalid. + * + * Errors (with error bit) from: f_memory_array_increase_by(). + * Errors (with error bit) from: f_utf_char_to_character(). * @param data * (optional) A variable passed to the callback, if provided. * Set to NULL to not use. * - * Errors (with error bit) from: f_memory_array_increase_by(). - * Errors (with error bit) from: f_utf_char_to_character(). - * * @see f_memory_array_increase_by() * @see f_utf_char_to_character() */ diff --git a/level_0/f_console/tests/unit/c/test-console-environment_process.c b/level_0/f_console/tests/unit/c/test-console-environment_process.c index c103ce9..f6a56f2 100644 --- a/level_0/f_console/tests/unit/c/test-console-environment_process.c +++ b/level_0/f_console/tests/unit/c/test-console-environment_process.c @@ -1,5 +1,4 @@ #include "test-console.h" -#include "test-console-environment_process.h" #ifdef __cplusplus extern "C" { diff --git a/level_0/f_console/tests/unit/c/test-console-identify.c b/level_0/f_console/tests/unit/c/test-console-identify.c index 4c1556d..152c949 100644 --- a/level_0/f_console/tests/unit/c/test-console-identify.c +++ b/level_0/f_console/tests/unit/c/test-console-identify.c @@ -1,5 +1,4 @@ #include "test-console.h" -#include "test-console-identify.h" #ifdef __cplusplus extern "C" { diff --git a/level_0/f_console/tests/unit/c/test-console-parameter_prioritize_left.c b/level_0/f_console/tests/unit/c/test-console-parameter_prioritize_left.c index d36d19e..4898035 100644 --- a/level_0/f_console/tests/unit/c/test-console-parameter_prioritize_left.c +++ b/level_0/f_console/tests/unit/c/test-console-parameter_prioritize_left.c @@ -1,5 +1,4 @@ #include "test-console.h" -#include "test-console-parameter_prioritize_left.h" #ifdef __cplusplus extern "C" { diff --git a/level_0/f_console/tests/unit/c/test-console-parameter_prioritize_right.c b/level_0/f_console/tests/unit/c/test-console-parameter_prioritize_right.c index 0b7cc39..67982e6 100644 --- a/level_0/f_console/tests/unit/c/test-console-parameter_prioritize_right.c +++ b/level_0/f_console/tests/unit/c/test-console-parameter_prioritize_right.c @@ -1,5 +1,4 @@ #include "test-console.h" -#include "test-console-parameter_prioritize_right.h" #ifdef __cplusplus extern "C" { diff --git a/level_0/f_console/tests/unit/c/test-console-parameter_process.c b/level_0/f_console/tests/unit/c/test-console-parameter_process.c index 96ca436..7aa0ed2 100644 --- a/level_0/f_console/tests/unit/c/test-console-parameter_process.c +++ b/level_0/f_console/tests/unit/c/test-console-parameter_process.c @@ -1,5 +1,4 @@ #include "test-console.h" -#include "test-console-parameter_process.h" #ifdef __cplusplus extern "C" { diff --git a/level_0/f_console/tests/unit/c/test-console-parameters_delete.c b/level_0/f_console/tests/unit/c/test-console-parameters_delete.c index 79efb63..27988e5 100644 --- a/level_0/f_console/tests/unit/c/test-console-parameters_delete.c +++ b/level_0/f_console/tests/unit/c/test-console-parameters_delete.c @@ -1,5 +1,4 @@ #include "test-console.h" -#include "test-console-parameters_delete.h" #ifdef __cplusplus extern "C" { diff --git a/level_0/f_console/tests/unit/c/test-console-parameters_destroy.c b/level_0/f_console/tests/unit/c/test-console-parameters_destroy.c index ab4e8c1..eca19fa 100644 --- a/level_0/f_console/tests/unit/c/test-console-parameters_destroy.c +++ b/level_0/f_console/tests/unit/c/test-console-parameters_destroy.c @@ -1,5 +1,4 @@ #include "test-console.h" -#include "test-console-parameters_destroy.h" #ifdef __cplusplus extern "C" { -- 1.8.3.1