diff mbox

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

Message ID 1429908707-12537-1-git-send-email-joerg.krause@embedded.rocks
State Accepted
Commit c2a904be061fbb854cba5cb6c2a0b3a20d463574
Headers show

Commit Message

Jörg Krause April 24, 2015, 8:51 p.m. UTC
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@embedded.rocks>
---
 serve_image.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Brian Norris May 28, 2015, 11:41 p.m. UTC | #1
On Fri, Apr 24, 2015 at 10:51:46PM +0200, Jörg Krause wrote:
> 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@embedded.rocks>

Pushed both to mtd-utils.git. Thanks!
diff mbox

Patch

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>