aboutsummaryrefslogtreecommitdiff
path: root/src/target/mem_ap.c
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2022-09-05 23:56:18 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2022-09-13 22:11:46 +0000
commit07d84bca32702f1c8405f7dc20dc18cc448ce39d (patch)
treec7a86c5d30b0f4d9b699ec8785761dbcc74165a2 /src/target/mem_ap.c
parenta21489e9b92c3be75f7526525a3753633b732525 (diff)
downloadriscv-openocd-07d84bca32702f1c8405f7dc20dc18cc448ce39d.zip
riscv-openocd-07d84bca32702f1c8405f7dc20dc18cc448ce39d.tar.gz
riscv-openocd-07d84bca32702f1c8405f7dc20dc18cc448ce39d.tar.bz2
target: make local symbols static
Symbols that are not exported should be declared as static. Change-Id: I2475524f4c14520e3163572560f4a9f276356ed5 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7168 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'src/target/mem_ap.c')
-rw-r--r--src/target/mem_ap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/mem_ap.c b/src/target/mem_ap.c
index 2922958..08a1883 100644
--- a/src/target/mem_ap.c
+++ b/src/target/mem_ap.c
@@ -185,7 +185,7 @@ static struct reg_arch_type mem_ap_reg_arch_type = {
.set = mem_ap_reg_set,
};
-const char *mem_ap_get_gdb_arch(struct target *target)
+static const char *mem_ap_get_gdb_arch(struct target *target)
{
return "arm";
}