diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-06-07 23:24:01 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-06-09 00:01:10 +0300 |
commit | 0a9471219672c63b4729f4011a77e017becf8607 (patch) | |
tree | c8a71bb55116388fa6ea1376160403607468c614 /tools/net/ynl/generated | |
parent | 168dea20ecef59f9e513a8b869da4841775cc49d (diff) | |
download | linux-0a9471219672c63b4729f4011a77e017becf8607.tar.xz |
tools: ynl-gen: don't generate forward declarations for policies - regen
Renegerate code after dropping forward declarations for policies.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/net/ynl/generated')
-rw-r--r-- | tools/net/ynl/generated/fou-user.c | 2 | ||||
-rw-r--r-- | tools/net/ynl/generated/handshake-user.c | 4 | ||||
-rw-r--r-- | tools/net/ynl/generated/netdev-user.c | 2 |
3 files changed, 0 insertions, 8 deletions
diff --git a/tools/net/ynl/generated/fou-user.c b/tools/net/ynl/generated/fou-user.c index a0f33bb882e4..c08c85a6b6c4 100644 --- a/tools/net/ynl/generated/fou-user.c +++ b/tools/net/ynl/generated/fou-user.c @@ -42,8 +42,6 @@ const char *fou_encap_type_str(int value) } /* Policies */ -extern struct ynl_policy_nest fou_nest; - struct ynl_policy_attr fou_policy[FOU_ATTR_MAX + 1] = { [FOU_ATTR_UNSPEC] = { .name = "unspec", .type = YNL_PT_REJECT, }, [FOU_ATTR_PORT] = { .name = "port", .type = YNL_PT_U16, }, diff --git a/tools/net/ynl/generated/handshake-user.c b/tools/net/ynl/generated/handshake-user.c index fe99c4ef7373..72eb1c52a8fc 100644 --- a/tools/net/ynl/generated/handshake-user.c +++ b/tools/net/ynl/generated/handshake-user.c @@ -69,10 +69,6 @@ const char *handshake_auth_str(enum handshake_auth value) } /* Policies */ -extern struct ynl_policy_nest handshake_x509_nest; -extern struct ynl_policy_nest handshake_accept_nest; -extern struct ynl_policy_nest handshake_done_nest; - struct ynl_policy_attr handshake_x509_policy[HANDSHAKE_A_X509_MAX + 1] = { [HANDSHAKE_A_X509_CERT] = { .name = "cert", .type = YNL_PT_U32, }, [HANDSHAKE_A_X509_PRIVKEY] = { .name = "privkey", .type = YNL_PT_U32, }, diff --git a/tools/net/ynl/generated/netdev-user.c b/tools/net/ynl/generated/netdev-user.c index aea5c7cc8ead..3db6921b9fab 100644 --- a/tools/net/ynl/generated/netdev-user.c +++ b/tools/net/ynl/generated/netdev-user.c @@ -48,8 +48,6 @@ const char *netdev_xdp_act_str(enum netdev_xdp_act value) } /* Policies */ -extern struct ynl_policy_nest netdev_dev_nest; - struct ynl_policy_attr netdev_dev_policy[NETDEV_A_DEV_MAX + 1] = { [NETDEV_A_DEV_IFINDEX] = { .name = "ifindex", .type = YNL_PT_U32, }, [NETDEV_A_DEV_PAD] = { .name = "pad", .type = YNL_PT_IGNORE, }, |