Skip to contentSkip to conversation

build: Fix another compile warning in console_systemd.c

PATCH In review David Sommerseth 2 participants 2 messages Oct 8, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build: Fix another compile warning in console_systemd.c

console_systemd.c: In function ‘get_console_input_systemd’:
console_systemd.c:75:5: warning: implicit declaration of function ‘openvpn_popen’ [-Wimplicit-function-declaration]

     if ((std_out = openvpn_popen(&argv, NULL)) < 0)
---
 src/openvpn/console_systemd.c | 1 +
 1 file changed, 1 insertion(+)
src/openvpn/console_systemd.c +1 -0
index e7a72ae3..8d9e825b 100644
@@ -33,6 +33,7 @@
 #include "syshead.h"
 #include "console.h"
 #include "misc.h"
+#include "run_command.h"
 
 #include <systemd/sd-daemon.h>
 
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#1 lore raw

Your patch has been applied to the master branch.

commit 02b392a2ca1e94b0d87c8f643ee887f1b34558ed

Author: David Sommerseth
Date:   Mon Oct 8 21:00:17 2018 +0300
     build: Fix another compile warning in console_systemd.c

     Signed-off-by: David Sommerseth <[email protected]...>
     Acked-by: Gert Doering <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg17660.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering