get_log_file_location () should return const char*

Make clear that result should never be freed.
This commit is contained in:
Michael Vetter
2020-02-21 21:19:54 +01:00
parent 75cfe38808
commit 55f49f1259
3 changed files with 3 additions and 3 deletions

View File

@@ -57,7 +57,7 @@ void log_init(log_level_t filter, char *log_file);
log_level_t log_get_filter(void);
void log_close(void);
void log_reinit(void);
char* get_log_file_location(void);
const char* get_log_file_location(void);
void log_debug(const char *const msg, ...);
void log_info(const char *const msg, ...);
void log_warning(const char *const msg, ...);