This commit is contained in:
Aoran Zeng 2025-07-11 21:22:43 +08:00
parent 87ec78340a
commit d9dac7af6e
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98
2 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@
* Contributors : juzeon <skyjuzheng@gmail.com>
* |
* 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 <unistd.h>
#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)

View File

@ -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)
{