tools: ynl-gen: don't generate forward declarations for policies
authorJakub Kicinski <kuba@kernel.org>
Wed, 7 Jun 2023 20:24:00 +0000 (13:24 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 8 Jun 2023 21:01:10 +0000 (14:01 -0700)
commit168dea20ecef59f9e513a8b869da4841775cc49d
treeb1eb7bb7216d0bddfb15cec95f11c9e9fbacd080
parenteae7af21bdb9022bfea7ee96fb4fa6c39bf02f32
tools: ynl-gen: don't generate forward declarations for policies

Now that all nested types have structs and are sorted topologically
there should be no need to generate forward declarations for policies.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/ynl-gen-c.py