Compare commits

...

2 Commits

Author SHA1 Message Date
LeonMMcoset
98897031e8 Merge pull request #2 from Leonmmcoset/codex/style-autofix-24629219094-1
style: auto-format C/C++ sources with clang-format
2026-04-19 21:57:28 +08:00
Leonmmcoset
315b230dc4 style: auto-format C/C++ sources with clang-format 2026-04-19 12:35:28 +00:00

View File

@@ -1828,8 +1828,7 @@ static i32 clks_syscall_usc_find_allowed_path(const char *path) {
}
for (i = 0U; i < CLKS_SYSCALL_USC_MAX_ALLOWED_APPS; i++) {
if (clks_syscall_usc_allowed_used[i] == CLKS_TRUE &&
clks_strcmp(clks_syscall_usc_allowed_path[i], path) == 0) {
if (clks_syscall_usc_allowed_used[i] == CLKS_TRUE && clks_strcmp(clks_syscall_usc_allowed_path[i], path) == 0) {
return (i32)i;
}
}
@@ -1851,7 +1850,8 @@ static void clks_syscall_usc_remember_path(const char *path) {
for (i = 0U; i < CLKS_SYSCALL_USC_MAX_ALLOWED_APPS; i++) {
if (clks_syscall_usc_allowed_used[i] == CLKS_FALSE) {
clks_syscall_usc_allowed_used[i] = CLKS_TRUE;
clks_syscall_usc_copy_path(clks_syscall_usc_allowed_path[i], sizeof(clks_syscall_usc_allowed_path[i]), path);
clks_syscall_usc_copy_path(clks_syscall_usc_allowed_path[i], sizeof(clks_syscall_usc_allowed_path[i]),
path);
return;
}
}