diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-06-17 15:19:42 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-17 15:19:42 -0400 |
| commit | 7ec5e2bf704242ff083e258215ed0967173b969c (patch) | |
| tree | 1121416c392d2df5624c4d114e614c63893ba6d7 /lib/if.c | |
| parent | 7925535457e1adbaf2f064e7f3d446fb9bedc353 (diff) | |
| parent | 6dcef54cbf8e08e6b9fde2997375818f4fb9a2e8 (diff) | |
Merge pull request #4514 from opensourcerouting/warnings-20190612
*: kill more warnings
Diffstat (limited to 'lib/if.c')
| -rw-r--r-- | lib/if.c | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -1422,15 +1422,19 @@ const struct frr_yang_module_info frr_interface_info = { .nodes = { { .xpath = "/frr-interface:lib/interface", - .cbs.create = lib_interface_create, - .cbs.destroy = lib_interface_destroy, - .cbs.cli_show = cli_show_interface, + .cbs = { + .create = lib_interface_create, + .destroy = lib_interface_destroy, + .cli_show = cli_show_interface, + }, }, { .xpath = "/frr-interface:lib/interface/description", - .cbs.modify = lib_interface_description_modify, - .cbs.destroy = lib_interface_description_destroy, - .cbs.cli_show = cli_show_interface_desc, + .cbs = { + .modify = lib_interface_description_modify, + .destroy = lib_interface_description_destroy, + .cli_show = cli_show_interface_desc, + }, }, { .xpath = NULL, |
