From: Sascha Hauer <s.hauer@pengutronix.de>
To: Lucas Stach <dev@lynxeye.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] scripts: fix warning generated by glibc 2.20
Date: Mon, 2 Mar 2015 07:32:25 +0100 [thread overview]
Message-ID: <20150302063225.GH11010@pengutronix.de> (raw)
In-Reply-To: <1425232409-16920-1-git-send-email-dev@lynxeye.de>
On Sun, Mar 01, 2015 at 06:53:29PM +0100, Lucas Stach wrote:
> Defining only _BSD_SOURCE is deprecated with version 2.20 of
> glibc. It has been replaced by _DEFAULT_SOURCE. The manpage says
> that code which wants to work in the same way on both old and new
> versions of glibc should simply define both symbols.
>
> Also move the definition up in fix_size as those feature flags
> should be defined before including any standard headers.
>
> Signed-off-by: Lucas Stach <dev@lynxeye.de>
> ---
> scripts/fix_size.c | 6 +++---
> scripts/mk-omap-image.c | 1 +
> scripts/mkublheader.c | 1 +
> 3 files changed, 5 insertions(+), 3 deletions(-)
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2015-03-02 6:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-01 17:53 Lucas Stach
2015-03-02 6:32 ` Sascha Hauer [this message]
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=20150302063225.GH11010@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=dev@lynxeye.de \
/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