]> granicus.if.org Git - esp-idf/commitdiff
log: Remove non-static TAG variables
authorAngus Gratton <angus@espressif.com>
Thu, 14 Dec 2017 23:39:07 +0000 (10:39 +1100)
committerAngus Gratton <gus@projectgus.com>
Thu, 14 Dec 2017 23:59:48 +0000 (10:59 +1100)
components/bootloader_support/src/bootloader_random.c
components/esp32/event_default_handlers.c

index 9f3d602e022b1854f5ae12ea41ed8a0ea0b48cff..36628e6c4f5a64ba9854dba212f2aaa2191ecbb6 100644 (file)
@@ -25,8 +25,6 @@
 #include "esp_system.h"
 #endif
 
-const char *TAG = "boot_rng";
-
 void bootloader_fill_random(void *buffer, size_t length)
 {
     uint8_t *buffer_bytes = (uint8_t *)buffer;
index 76d49f83ebb272b2b1642fcae0bf4d6b3a235703..6b127e6091bdec7662ea4e6187bd814b01a1c577 100644 (file)
@@ -35,7 +35,7 @@
 #include "tcpip_adapter.h"
 #include "esp_log.h"
 
-const char* TAG = "event";
+static const char* TAG = "event";
 
 #define WIFI_API_CALL_CHECK(info, api_call, ret) \
 do{\