linux/tools/net
Jakub Kicinski 9152627936 tools: ynl-gen: don't output external constants
[ Upstream commit 7e8b24e24a ]

A definition with a "header" property is an "external" definition
for C code, as in it is defined already in another C header file.
Other languages will need the exact value but C codegen should
not recreate it. So don't output those definitions in the uAPI
header.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20250203215510.1288728-1-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-05-29 11:03:00 +02:00
..
sunrpc/xdrgen xdrgen: Prevent reordering of encoder and decoder functions 2024-09-20 19:31:41 -04:00
ynl tools: ynl-gen: don't output external constants 2025-05-29 11:03:00 +02:00