Skip to content

Commit d9dac7a

Browse files
committed
Fix typo
1 parent 87ec783 commit d9dac7a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/xy.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Contributors : juzeon <[email protected]>
99
* |
1010
* Created On : <2023-08-28>
11-
* Last Modified : <2025-06-20>
11+
* Last Modified : <2025-07-11>
1212
*
1313
* xy: 襄阳、咸阳
1414
* Corss-Platform C11 utilities for CLI applications in mixed flavor:
@@ -18,7 +18,7 @@
1818
#ifndef XY_H
1919
#define XY_H
2020

21-
#define _XY_Version "v0.1.5.0-2025/06/20"
21+
#define _XY_Version "v0.1.5.1-2025/07/11"
2222
#define _XY_Maintain_URL "https://github.com/RubyMetric/chsrc/blob/main/lib/xy.h"
2323
#define _XY_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc/blob/main/lib/xy.h"
2424

@@ -40,7 +40,7 @@
4040
#include <unistd.h>
4141

4242
#if defined(__STDC__) && __STDC_VERSION__ >= 202311
43-
#define XY_Dreprecate_This(msg) [[deprecated(msg)]]
43+
#define XY_Deprecate_This(msg) [[deprecated(msg)]]
4444
#elif defined(__GNUC__) || defined(__clang__)
4545
#define XY_Deprecate_This(msg) __attribute__((deprecated(msg)))
4646
#elif defined(_MSC_VER)

src/framework/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ cmd_to_check_program (char *prog_name)
350350
return quiet_cmd;
351351
}
352352

353-
XY_Dreprecate_This("Use cmd_to_check_program() instead")
353+
XY_Deprecate_This("Use cmd_to_check_program() instead")
354354
static char *
355355
cmd_to_check_program2 (char *prog_name)
356356
{

0 commit comments

Comments
 (0)