summaryrefslogtreecommitdiff
path: root/src/core/log.h
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2017-07-28 03:56:02 +0100
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2017-07-28 03:56:02 +0100
commite08e2bd87aceafc2a34d72ca3fd362f2f2ea90eb (patch)
tree4257e57b560f448190a37f93ef3bf7392c448509 /src/core/log.h
parent437fbef6eb8f605320841cba119d3abbb3571a75 (diff)
downloadirssi-e08e2bd87aceafc2a34d72ca3fd362f2f2ea90eb.zip
Don't compute log_dir_create_mode in three different places.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
Diffstat (limited to 'src/core/log.h')
-rw-r--r--src/core/log.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/log.h b/src/core/log.h
index fae872c7..5a07859b 100644
--- a/src/core/log.h
+++ b/src/core/log.h
@@ -35,6 +35,8 @@ struct _LOG_REC {
};
extern GSList *logs;
+extern int log_file_create_mode;
+extern int log_dir_create_mode;
/* Create log record - you still need to call log_update() to actually add it
into log list */