diff --git a/lib/xy.h b/lib/xy.h index bb45327..185a101 100644 --- a/lib/xy.h +++ b/lib/xy.h @@ -8,7 +8,7 @@ * Contributors : juzeon * | * Created On : <2023-08-28> - * Last Modified : <2025-06-20> + * Last Modified : <2025-07-11> * * xy: 襄阳、咸阳 * Corss-Platform C11 utilities for CLI applications in mixed flavor: @@ -18,7 +18,7 @@ #ifndef XY_H #define XY_H -#define _XY_Version "v0.1.5.0-2025/06/20" +#define _XY_Version "v0.1.5.1-2025/07/11" #define _XY_Maintain_URL "https://github.com/RubyMetric/chsrc/blob/main/lib/xy.h" #define _XY_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc/blob/main/lib/xy.h" @@ -40,7 +40,7 @@ #include #if defined(__STDC__) && __STDC_VERSION__ >= 202311 - #define XY_Dreprecate_This(msg) [[deprecated(msg)]] + #define XY_Deprecate_This(msg) [[deprecated(msg)]] #elif defined(__GNUC__) || defined(__clang__) #define XY_Deprecate_This(msg) __attribute__((deprecated(msg))) #elif defined(_MSC_VER) diff --git a/src/framework/core.c b/src/framework/core.c index 059d613..af74595 100644 --- a/src/framework/core.c +++ b/src/framework/core.c @@ -350,7 +350,7 @@ cmd_to_check_program (char *prog_name) return quiet_cmd; } -XY_Dreprecate_This("Use cmd_to_check_program() instead") +XY_Deprecate_This("Use cmd_to_check_program() instead") static char * cmd_to_check_program2 (char *prog_name) {