freebsd-dev/sys/net/route
Dimitry Andric a8adf13a63 Adjust function definition in nhop_ctl.c to avoid clang 15 warnings
With clang 15, the following -Werror warning is produced:

    sys/net/route/nhop_ctl.c:508:21: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
    alloc_nhop_structure()
                        ^
                         void

This is alloc_nhop_structure() is declared with a (void) argument list,
but defined with an empty argument list. Make the definition match the
declaration.

MFC after:	3 days
2022-07-26 21:25:09 +02:00
..
fib_algo.c routing: Use the same index space for both nexthop and nexthop groups. 2021-10-08 07:58:55 +00:00
fib_algo.h Fib algo: extend KPI by allowing algo to set datapath pointers. 2021-04-18 16:12:12 +01:00
mpath_ctl.c Fix panic when trying to delete non-existent gateway in multipath route. 2021-05-07 20:41:31 +00:00
nhgrp_ctl.c routing: actually sort nexthops in nhgs by their index 2022-06-27 17:30:52 +00:00
nhgrp_var.h Introduce scalable route multipath. 2020-10-03 10:47:17 +00:00
nhgrp.c routing: improve debugging. 2022-06-25 19:53:31 +00:00
nhop_ctl.c Adjust function definition in nhop_ctl.c to avoid clang 15 warnings 2022-07-26 21:25:09 +02:00
nhop_utils.c Remove unused nhop_ref_any() function. 2020-09-20 21:32:52 +00:00
nhop_utils.h [multipath][nhops] Fix random crashes with high route churn rate. 2021-08-01 10:07:37 +00:00
nhop_var.h nhops: split nh_family into nh_upper_family and nh_neigh_family. 2021-12-29 21:03:19 +00:00
nhop.c nhop: hash ifnet pointer instead of if_index 2021-12-04 10:05:46 -08:00
nhop.h routing: actually sort nexthops in nhgs by their index 2022-06-27 17:30:52 +00:00
route_ctl.c routing: improve debugging. 2022-06-25 19:53:31 +00:00
route_ctl.h routing: Fix crashes with dpdk_lpm[46] algo. 2021-08-17 20:46:22 +00:00
route_ddb.c ddb: use _FLAGS command macros where appropriate 2022-07-05 11:56:55 -03:00
route_debug.h routing: fix debug headers added in 6fa8ed43ee. 2022-06-25 23:05:25 +00:00
route_helpers.c routing: hide notify_add and notify_del behind ROUTE_MPATH 2022-07-04 08:38:13 +00:00
route_ifaddrs.c Make gcc happy by initializing error in rib_handle_ifaddr_info(). 2021-04-25 08:44:59 +00:00
route_tables.c [fib algo] Delay algo init at fib growth to to allow to reliably use rib KPI. 2021-04-27 22:10:08 +00:00
route_temporal.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
route_var.h [fib algo] Delay algo init at fib growth to to allow to reliably use rib KPI. 2021-04-27 22:10:08 +00:00