From: "Jörg Krause" <joerg.krause@embedded.rocks>
To: linux-mtd@lists.infradead.org
Cc: "Jörg Krause" <joerg.krause@embedded.rocks>
Subject: [PATCH 2/2] recv_image: do not include error.h
Date: Fri, 24 Apr 2015 22:51:47 +0200 [thread overview]
Message-ID: <1429908707-12537-2-git-send-email-joerg.krause@embedded.rocks> (raw)
In-Reply-To: <1429908707-12537-1-git-send-email-joerg.krause@embedded.rocks>
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
next prev parent reply other threads:[~2015-04-24 20:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2015-05-28 23:41 ` Brian Norris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1429908707-12537-2-git-send-email-joerg.krause@embedded.rocks \
--to=joerg.krause@embedded.rocks \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox