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

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


recv_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>
---
 recv_image.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/recv_image.c b/recv_image.c
index 26a8361..0093831 100644
--- a/recv_image.c
+++ b/recv_image.c
@@ -4,7 +4,6 @@
 #define _BSD_SOURCE	/* struct ip_mreq */
 
 #include <errno.h>
-#include <error.h>
 #include <stdio.h>
 #include <netdb.h>
 #include <stdlib.h>
-- 
2.3.6



More information about the linux-mtd mailing list