about summary refs log tree commit diff stats
path: root/src/log.h
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-02-21 21:19:54 +0100
committerMichael Vetter <jubalh@iodoru.org>2020-02-21 21:19:54 +0100
commit55f49f12593d1c91c41e35fae56885e088ee4c6e (patch)
tree5b38b8d9abbb305a7ea7b17869f234f110f8bcfa /src/log.h
parent75cfe38808e76a5308dac7023876a9826ed56347 (diff)
downloadprofani-tty-55f49f12593d1c91c41e35fae56885e088ee4c6e.tar.gz
get_log_file_location () should return const char*
Make clear that result should never be freed.
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.h b/src/log.h
index 32c616fa..592c4039 100644
--- a/src/log.h
+++ b/src/log.h
@@ -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, ...);