summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2018-02-25 17:59:16 +0000
committerrofl0r <rofl0r@users.noreply.github.com>2018-02-25 18:35:34 +0000
commite1c11c47db91597f0041152fc06e7b558cdfc9e1 (patch)
tree0a8ffdd64dc20ec2995ef06208e4b17cc6e01c31
parentbf76aeeba1cf868ebe4d2f28976abb75c48031b0 (diff)
make send_stored_logs static
-rw-r--r--src/log.c2
-rw-r--r--src/log.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/log.c b/src/log.c
index c5368b8..69b6dc0 100644
--- a/src/log.c
+++ b/src/log.c
@@ -217,7 +217,7 @@ out:
/*
* This needs to send any stored log messages.
*/
-void send_stored_logs (void)
+static void send_stored_logs (void)
{
char *string;
char *ptr;
diff --git a/src/log.h b/src/log.h
index 68c89c3..76bfe6b 100644
--- a/src/log.h
+++ b/src/log.h
@@ -106,7 +106,6 @@ extern void close_log_file (void);
extern void log_message (int level, const char *fmt, ...);
extern void set_log_level (int level);
-extern void send_stored_logs (void);
extern int setup_logging (void);
extern void shutdown_logging (void);