X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftarget%2Fespressif%2Fesp_semihosting.c;h=f9e8b020011f098f86e220327aa6216843765830;hb=a21489e9b92c3be75f7526525a3753633b732525;hp=b1edef31d02bdb18431554b4c72ea8923bb337b5;hpb=8310a238dce3b1cd203127365dec5545c2d36ab2;p=fw%2Fopenocd diff --git a/src/target/espressif/esp_semihosting.c b/src/target/espressif/esp_semihosting.c index b1edef31d..f9e8b0200 100644 --- 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" -struct esp_semihost_data *target_to_esp_semihost_data(struct target *target) +static struct esp_semihost_data __attribute__((unused)) *target_to_esp_semihost_data(struct target *target) { 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; } -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;