diff options
author | 2023-12-13 15:14:32 -0800 | |
---|---|---|
committer | 2023-12-14 17:51:21 -0800 | |
commit | 7b5fe80ebc6312896a72f0187b00f7840579d4fd (patch) | |
tree | f47ae57975d23e5046919c71d2b069fd0ea44b97 /rust/kernel | |
parent | tools: ynl-gen: store recursive nests by a pointer (diff) | |
download | linux-rng-7b5fe80ebc6312896a72f0187b00f7840579d4fd.tar.xz linux-rng-7b5fe80ebc6312896a72f0187b00f7840579d4fd.zip |
tools: ynl-gen: print prototypes for recursive stuff
We avoid printing forward declarations and prototypes for most
types by sorting things topologically. But if structs nest we
do need the forward declarations, there's no other way.
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://lore.kernel.org/r/20231213231432.2944749-9-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions