lets put (void) in a couple of functions to keep older platforms that
are stuck with gcc happy (ppc). The changes are needed in both bbr and rack. Obtained from: Michael Tuexen (mtuexen@)
This commit is contained in:
parent
da99b33b17
commit
ac7bd23a7a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=352661
@ -1174,7 +1174,7 @@ sysctl_bbr_clear_lost(SYSCTL_HANDLER_ARGS)
|
||||
}
|
||||
|
||||
static void
|
||||
bbr_init_sysctls()
|
||||
bbr_init_sysctls(void)
|
||||
{
|
||||
struct sysctl_oid *bbr_probertt;
|
||||
struct sysctl_oid *bbr_hptsi;
|
||||
@ -1875,7 +1875,7 @@ bbr_progress_timeout_check(struct tcp_bbr *bbr)
|
||||
}
|
||||
|
||||
static void
|
||||
bbr_counter_destroy()
|
||||
bbr_counter_destroy(void)
|
||||
{
|
||||
COUNTER_ARRAY_FREE(bbr_stat_arry, BBR_STAT_SIZE);
|
||||
COUNTER_ARRAY_FREE(bbr_opts_arry, BBR_OPTS_SIZE);
|
||||
|
@ -514,7 +514,7 @@ sysctl_rack_clear(SYSCTL_HANDLER_ARGS)
|
||||
|
||||
|
||||
static void
|
||||
rack_init_sysctls()
|
||||
rack_init_sysctls(void)
|
||||
{
|
||||
struct sysctl_oid *rack_counters;
|
||||
struct sysctl_oid *rack_attack;
|
||||
@ -1512,7 +1512,7 @@ rack_log_sad(struct tcp_rack *rack, int event)
|
||||
#endif
|
||||
|
||||
static void
|
||||
rack_counter_destroy()
|
||||
rack_counter_destroy(void)
|
||||
{
|
||||
counter_u64_free(rack_badfr);
|
||||
counter_u64_free(rack_badfr_bytes);
|
||||
|
Loading…
Reference in New Issue
Block a user