[PATCH 1/2] serve_image: do not include error.h

Jörg Krause joerg.krause at embedded.rocks
Fri Apr 24 13:51:46 PDT 2015


serve_image does not use anything from it and it is not available with all
C libraries, e.g. musl.

Signed-off-by: Jörg Krause <joerg.krause at embedded.rocks>
---
 serve_image.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/serve_image.c b/serve_image.c
index 38549a1..4f0e946 100644
--- a/serve_image.c
+++ b/serve_image.c
@@ -3,7 +3,6 @@
 
 #include <time.h>
 #include <errno.h>
-#include <error.h>
 #include <netdb.h>
 #include <stdio.h>
 #include <stdlib.h>
-- 
2.3.6



More information about the linux-mtd mailing list