From: Kevin Day <Kevin@kevux.org> Date: Sun, 23 Mar 2025 00:34:20 +0000 (-0500) Subject: Bugfix: Trailing semi-colon added at the end of the macro for f_time_spec_t. X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=ac8b56ebbad1915b506d37c30d698c1a450ce2d3;p=fll Bugfix: Trailing semi-colon added at the end of the macro for f_time_spec_t. The semi-colons should not be auto-added like this. When adding the define inside an array, the semi-colon will cause compile problems that are hard to debug. --- diff --git a/level_0/f_type/c/type/time.h b/level_0/f_type/c/type/time.h index 6e97ef1..3452891 100644 --- a/level_0/f_type/c/type/time.h +++ b/level_0/f_type/c/type/time.h @@ -63,7 +63,7 @@ extern "C" { #define f_time_spec_t_initialize { 0 } - #define macro_f_time_spec_t_initialize_1(seconds, nanoseconds) { .tv_sec = seconds, .tv_nsec = nanoseconds }; + #define macro_f_time_spec_t_initialize_1(seconds, nanoseconds) { .tv_sec = seconds, .tv_nsec = nanoseconds } #endif // _di_f_time_spec_t_ /** @@ -74,7 +74,7 @@ extern "C" { #define f_time_value_t_initialize { 0 } - #define macro_f_time_value_t_initialize_1(seconds, nanoseconds) { .tv_sec = seconds, .tv_usec = nanoseconds }; + #define macro_f_time_value_t_initialize_1(seconds, nanoseconds) { .tv_sec = seconds, .tv_usec = nanoseconds } #endif // _di_f_time_value_t_ /**