public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: "Érico Nogueira" <ericonr@disroot.org>
Cc: elfutils-devel@sourceware.org, "Érico Rolim" <erico.erc@gmail.com>
Subject: Re: [PATCH] Don't use __BEGIN_DECLS macros from glibc.
Date: Mon, 26 Oct 2020 23:58:10 +0300	[thread overview]
Message-ID: <20201026205810.GA3247@altlinux.org> (raw)
In-Reply-To: <20201026204424.5648-1-ericonr@disroot.org>

On Mon, Oct 26, 2020 at 05:44:24PM -0300, Érico Nogueira via Elfutils-devel wrote:
> From: Érico Rolim <erico.erc@gmail.com>
> 
> These macros are mostly internal to glibc and require the inclusion of
> <sys/cdefs.h> (here included indirectly via <features.h>), which isn't a
> standard header.
> 
> Since they are only required once, replacing them with their definition
> is simple.
> 
> Signed-off-by: Érico Rolim <erico.erc@gmail.com>
> ---
>  libelf/elf.h | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)

This file is a verbatim copy of glibc's elf/elf.h, see
git log -- libelf/elf.h


-- 
ldv

  reply	other threads:[~2020-10-26 20:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-26 20:44 Érico Nogueira
2020-10-26 20:58 ` Dmitry V. Levin [this message]
2020-10-26 21:34   ` Érico Nogueira
2020-10-26 22:24     ` Mark Wielaard
2020-10-28 11:46       ` Mark Wielaard

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=20201026205810.GA3247@altlinux.org \
    --to=ldv@altlinux.org \
    --cc=elfutils-devel@sourceware.org \
    --cc=erico.erc@gmail.com \
    --cc=ericonr@disroot.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).