fix(rust): remove redundant common shim declarations

The common C shims include headers that already declare every Rust-exported
symbol. Remove duplicate declarations so strict C builds do not report
redundant declarations or macro-expanded aliases.

The shims remain intentionally declaration-only; Rust still owns the exported
implementation.

Test Plan:
- compile debug.c with -Wall -Wextra -Werror
- compile error_private.c with -Wall -Wextra -Werror
- compile zstd_common.c with -Wall -Wextra -Werror

Refs: rust/README.md
This commit is contained in:
2026-07-10 20:03:34 +02:00
parent 089f8e5b4d
commit 554a30da41
3 changed files with 1 additions and 9 deletions
-1
View File
@@ -1,4 +1,3 @@
#include "debug.h"
/* Implementation moved to Rust (rust/src/debug.rs) */
extern int g_debuglevel;