projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xtensa: make local symbols static
[fw/openocd]
/
src
/
target
/
espressif
/
esp_semihosting.c
diff --git
a/src/target/espressif/esp_semihosting.c
b/src/target/espressif/esp_semihosting.c
index b1edef31d02bdb18431554b4c72ea8923bb337b5..f9e8b020011f098f86e220327aa6216843765830 100644
(file)
--- a/
src/target/espressif/esp_semihosting.c
+++ b/
src/target/espressif/esp_semihosting.c
@@
-15,7
+15,7
@@
#include "esp_semihosting.h"
#include "esp_xtensa.h"
#include "esp_semihosting.h"
#include "esp_xtensa.h"
-st
ruct esp_semihost_data
*target_to_esp_semihost_data(struct target *target)
+st
atic struct esp_semihost_data __attribute__((unused))
*target_to_esp_semihost_data(struct target *target)
{
const char *arch = target_get_gdb_arch(target);
if (arch) {
{
const char *arch = target_get_gdb_arch(target);
if (arch) {
@@
-27,7
+27,7
@@
struct esp_semihost_data *target_to_esp_semihost_data(struct target *target)
return NULL;
}
return NULL;
}
-int esp_semihosting_sys_seek(struct target *target, uint64_t fd, uint32_t pos, size_t whence)
+
static
int esp_semihosting_sys_seek(struct target *target, uint64_t fd, uint32_t pos, size_t whence)
{
struct semihosting *semihosting = target->semihosting;
{
struct semihosting *semihosting = target->semihosting;