netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Thomas Haller <thaller@redhat.com>
Cc: NetFilter <netfilter-devel@vger.kernel.org>
Subject: Re: [PATCH nft 2/2] include: include <stdlib.h> in <nft.h>
Date: Mon, 11 Sep 2023 23:42:21 +0200	[thread overview]
Message-ID: <ZP+Jvc6GOppBj7C/@calendula> (raw)
In-Reply-To: <20230908173226.1182353-2-thaller@redhat.com>

On Fri, Sep 08, 2023 at 07:32:20PM +0200, Thomas Haller wrote:
> It provides malloc()/free(), which is so basic that we need it
> everywhere. Include via <nft.h>.
> 
> The ultimate purpose is to define more things in <nft.h>. While it has
> not corresponding C sources, <nft.h> can contain macros and static
> inline functions, and is a good place for things that we shall have
> everywhere. Since <stdlib.h> provides malloc()/free() and size_t, that
> is a very basic dependency, that will be needed for that.

Also applied, thanks

  reply	other threads:[~2023-09-12  2:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-08 17:32 [PATCH nft 1/2] parser_bison: include <nft.h> for base C environment to "parser_bison.y" Thomas Haller
2023-09-08 17:32 ` [PATCH nft 2/2] include: include <stdlib.h> in <nft.h> Thomas Haller
2023-09-11 21:42   ` Pablo Neira Ayuso [this message]
2023-09-11 21:42 ` [PATCH nft 1/2] parser_bison: include <nft.h> for base C environment to "parser_bison.y" Pablo Neira Ayuso

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=ZP+Jvc6GOppBj7C/@calendula \
    --to=pablo@netfilter.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=thaller@redhat.com \
    /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 NNTP newsgroup(s).