From: Thomas Haller <thaller@redhat.com>
To: NetFilter <netfilter-devel@vger.kernel.org>
Cc: Thomas Haller <thaller@redhat.com>
Subject: [PATCH nft v2 0/6] cleanup base includes and add <nft.h> header
Date: Fri, 25 Aug 2023 13:36:28 +0200 [thread overview]
Message-ID: <20230825113810.2620133-1-thaller@redhat.com> (raw)
Changes to v1:
- rename <nftdefault.h> to <nft.h>
- move AC_USE_SYSTEM_EXTENSIONS earlier in configure.ac. It must be
called before other compiler steps.
- reword commit messages.
Thomas Haller (6):
meta: define _GNU_SOURCE to get strptime() from <time.h>
src: add <nft.h> header and include it as first
include: don't define _GNU_SOURCE in public header
configure: use AC_USE_SYSTEM_EXTENSIONS to get _GNU_SOURCE
include: include <std{bool,int}.h> via <nft.h>
configure: drop AM_PROG_CC_C_O autoconf check
configure.ac | 4 +++-
include/Makefile.am | 3 ++-
include/cli.h | 1 -
include/datatype.h | 1 -
include/dccpopt.h | 1 -
include/expression.h | 1 -
include/gmputil.h | 2 --
include/nft.h | 10 ++++++++++
include/nftables.h | 1 -
include/nftables/libnftables.h | 1 -
include/rule.h | 1 -
include/utils.h | 3 ---
src/cache.c | 2 ++
src/cli.c | 3 ++-
src/cmd.c | 2 ++
src/ct.c | 2 ++
src/datatype.c | 2 ++
src/dccpopt.c | 3 ++-
src/erec.c | 4 ++--
src/evaluate.c | 3 ++-
src/expression.c | 3 ++-
src/exthdr.c | 3 ++-
src/fib.c | 2 ++
src/gmputil.c | 2 ++
src/hash.c | 2 ++
src/iface.c | 2 ++
src/intervals.c | 2 ++
src/ipopt.c | 3 ++-
src/json.c | 3 ++-
src/libnftables.c | 3 +++
src/main.c | 2 ++
src/mergesort.c | 3 ++-
src/meta.c | 8 +++-----
src/mini-gmp.c | 2 ++
src/misspell.c | 2 ++
src/mnl.c | 2 ++
src/monitor.c | 2 ++
src/netlink.c | 2 ++
src/netlink_delinearize.c | 3 ++-
src/netlink_linearize.c | 2 ++
src/nfnl_osf.c | 2 ++
src/nftutils.c | 3 +--
src/nftutils.h | 1 -
src/numgen.c | 2 ++
src/optimize.c | 3 ++-
src/osf.c | 2 ++
src/owner.c | 2 ++
src/parser_json.c | 4 ++--
src/payload.c | 3 ++-
src/print.c | 2 ++
src/proto.c | 3 ++-
src/rt.c | 3 ++-
src/rule.c | 3 ++-
src/scanner.l | 2 ++
src/sctp_chunk.c | 2 ++
src/segtree.c | 2 ++
src/socket.c | 2 ++
src/statement.c | 3 ++-
src/tcpopt.c | 3 ++-
src/utils.c | 2 ++
src/xfrm.c | 2 ++
src/xt.c | 2 ++
62 files changed, 114 insertions(+), 42 deletions(-)
create mode 100644 include/nft.h
--
2.41.0
next reply other threads:[~2023-08-25 11:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-25 11:36 Thomas Haller [this message]
2023-08-25 11:36 ` [PATCH nft v2 1/6] meta: define _GNU_SOURCE to get strptime() from <time.h> Thomas Haller
2023-08-25 11:36 ` [PATCH nft v2 2/6] src: add <nft.h> header and include it as first Thomas Haller
2023-08-25 11:36 ` [PATCH nft v2 3/6] include: don't define _GNU_SOURCE in public header Thomas Haller
2023-08-25 11:36 ` [PATCH nft v2 4/6] configure: use AC_USE_SYSTEM_EXTENSIONS to get _GNU_SOURCE Thomas Haller
2023-08-25 11:36 ` [PATCH nft v2 5/6] include: include <std{bool,int}.h> via <nft.h> Thomas Haller
2023-08-25 11:36 ` [PATCH nft v2 6/6] configure: drop AM_PROG_CC_C_O autoconf check Thomas Haller
2023-08-25 13:01 ` [PATCH nft v2 0/6] cleanup base includes and add <nft.h> header 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=20230825113810.2620133-1-thaller@redhat.com \
--to=thaller@redhat.com \
--cc=netfilter-devel@vger.kernel.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 NNTP newsgroup(s).