All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] serve_image: do not include error.h
@ 2015-04-24 20:51 Jörg Krause
  2015-04-24 20:51 ` [PATCH 2/2] recv_image: " Jörg Krause
  2015-05-28 23:41 ` [PATCH 1/2] serve_image: " Brian Norris
  0 siblings, 2 replies; 3+ messages in thread
From: Jörg Krause @ 2015-04-24 20:51 UTC (permalink / raw)
  To: linux-mtd; +Cc: Jörg Krause

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(-)

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] recv_image: do not include error.h
  2015-04-24 20:51 [PATCH 1/2] serve_image: do not include error.h Jörg Krause
@ 2015-04-24 20:51 ` Jörg Krause
  2015-05-28 23:41 ` [PATCH 1/2] serve_image: " Brian Norris
  1 sibling, 0 replies; 3+ messages in thread
From: Jörg Krause @ 2015-04-24 20:51 UTC (permalink / raw)
  To: linux-mtd; +Cc: Jörg Krause

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@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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] serve_image: do not include error.h
  2015-04-24 20:51 [PATCH 1/2] serve_image: do not include error.h Jörg Krause
  2015-04-24 20:51 ` [PATCH 2/2] recv_image: " Jörg Krause
@ 2015-05-28 23:41 ` Brian Norris
  1 sibling, 0 replies; 3+ messages in thread
From: Brian Norris @ 2015-05-28 23:41 UTC (permalink / raw)
  To: Jörg Krause; +Cc: linux-mtd

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!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-28 23:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-24 20:51 [PATCH 1/2] serve_image: do not include error.h Jörg Krause
2015-04-24 20:51 ` [PATCH 2/2] recv_image: " Jörg Krause
2015-05-28 23:41 ` [PATCH 1/2] serve_image: " Brian Norris

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.