[systemd-devel] [PATCH 3/5] resolve: Remove implicit declaration

philippedeswert at gmail.com philippedeswert at gmail.com
Thu Oct 16 14:43:51 PDT 2014


From: Philippe De Swert <philippedeswert at gmail.com>

Removes this compilation warning:
src/resolve/resolved.c: In function ‘main’:
src/resolve/resolved.c:49:9: warning: implicit declaration of function ‘label_init’ [-Wimplicit-function-declaration]
src/resolve/resolved.c:49:9: warning: nested extern declaration of ‘label_init’ [-Wnested-externs]
---
 src/resolve/resolved.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/resolve/resolved.c b/src/resolve/resolved.c
index ef416e5..ee512e1 100644
--- a/src/resolve/resolved.c
+++ b/src/resolve/resolved.c
@@ -23,6 +23,7 @@
 #include "sd-daemon.h"
 #include "mkdir.h"
 #include "capability.h"
+#include "label.h"
 
 #include "resolved-manager.h"
 #include "resolved-conf.h"
-- 
1.8.3.2



More information about the systemd-devel mailing list