Avoid build warnings for __connman_logs_s 24/155824/1
authorMilind Ramesh Murhekar <m.murhekar@samsung.com>
Mon, 16 Oct 2017 08:19:02 +0000 (13:49 +0530)
committerMilind Ramesh Murhekar <m.murhekar@samsung.com>
Mon, 16 Oct 2017 08:19:02 +0000 (13:49 +0530)
Description: This patch avoids build warnings
for __connman_log_s()

Change-Id: Ifd74090bd7d42744786dd1775046df777eaedb7f
Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
src/log.c

index 0a40887..af7db0e 100755 (executable)
--- a/src/log.c
+++ b/src/log.c
@@ -52,6 +52,7 @@ static const char *program_path;
 #define syslog __connman_log_s
 
 static FILE *log_file = NULL;
+void __connman_log_s(int log_priority, const char *format, ...);
 
 void __connman_log_open(const char *ident, int option, int facility)
 {