Commit 25b5954
committed
tests: riscv: Remove local z_riscv_pmp_read_config() prototype in PMP test
The function prototype for **z_riscv_pmp_read_config()** was previously
declared in `tests/arch/riscv/pmp/clear-pmp-unlocked-entries/src/main.c`.
This local declaration is no longer necessary as the prototype is now
defined within the centralized PMP header, **`include/arch/riscv/pmp.h`**,
which is already included via **`kernel_internal.h`**. The prototype
is guarded by the `CONFIG_ZTEST` Kconfig option.
Signed-off-by: Firas Sammoura <[email protected]>1 parent 6c83b9b commit 25b5954
1 file changed
+0
-2
lines changedLines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
| |||
0 commit comments