Skip to content

Commit c49430b

Browse files
fix(misc): Remove duplicate declaration of _lv_log_add. (lvgl#3103)
Commit ba38a4b appears to have accidentally added a duplicate declaration of _lv_log_add. With -Wredundant-decls, this causes warnings to spam the terminal. warning: redundant redeclaration of ‘_lv_log_add’ [-Wredundant-decls]
1 parent 349a51c commit c49430b

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/misc/lv_log.h

-12
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,6 @@ void lv_log_register_print_cb(lv_log_print_g_cb_t print_cb);
7171
*/
7272
void lv_log(const char * format, ...) LV_FORMAT_ATTRIBUTE(1, 2);
7373

74-
/**
75-
* Add a log
76-
* @param level the level of log. (From `lv_log_level_t` enum)
77-
* @param file name of the file when the log added
78-
* @param line line number in the source code where the log added
79-
* @param func name of the function when the log added
80-
* @param format printf-like format string
81-
* @param ... parameters for `format`
82-
*/
83-
void _lv_log_add(lv_log_level_t level, const char * file, int line,
84-
const char * func, const char * format, ...) LV_FORMAT_ATTRIBUTE(5, 6);
85-
8674
/**
8775
* Add a log
8876
* @param level the level of log. (From `lv_log_level_t` enum)

0 commit comments

Comments
 (0)