diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-12-13 15:14:32 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-12-14 17:51:21 -0800 |
commit | 7b5fe80ebc6312896a72f0187b00f7840579d4fd (patch) | |
tree | f47ae57975d23e5046919c71d2b069fd0ea44b97 /rust/kernel/allocator.rs | |
parent | 461f25a2e4334767d3e306b08dbda054da1aaa30 (diff) |
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/allocator.rs')
0 files changed, 0 insertions, 0 deletions