ujail: remove "#include log.h" from elf.h
authorEtienne CHAMPETIER <champetier.etienne@gmail.com>
Fri, 27 Nov 2015 16:27:07 +0000 (16:27 +0000)
committerJohn Crispin <blogic@openwrt.org>
Fri, 27 Nov 2015 16:48:49 +0000 (17:48 +0100)
headers must include all there dependencies, no more, no less

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
jail/elf.c
jail/elf.h
jail/jail.c

index 6d36215f0241391f7b36d238f42392a4b2930156..5e22606478d1fedd521b0adfac93e2f4dbcff70d 100644 (file)
@@ -26,6 +26,7 @@
 #include <libubox/utils.h>
 
 #include "elf.h"
+#include "log.h"
 
 struct avl_tree libraries;
 static LIST_HEAD(library_paths);
index 570e4d0d1ebe23e68b80388463ca6fae52b9d0dc..4ab928d80e7f1a8f62ef75e9ddaca3e72daecd7e 100644 (file)
@@ -16,8 +16,6 @@
 #include <libubox/avl.h>
 #include <libubox/avl-cmp.h>
 
-#include "log.h"
-
 struct library {
        struct avl_node avl;
        char *name;
index 7349a05eda67e14f70bad7b316f0cc607a665f3e..ae096230338e8bf4b62c4745ef632e252eb460ad 100644 (file)
@@ -28,6 +28,7 @@
 
 #include "elf.h"
 #include "capabilities.h"
+#include "log.h"
 
 #include <libubox/list.h>
 #include <libubox/uloop.h>