Date: Tue, 24 Sep 2019 20:36:43 +0000 (UTC) From: Randall Stewart <rrs@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r352661 - head/sys/netinet/tcp_stacks Message-ID: <201909242036.x8OKahnv021758@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rrs Date: Tue Sep 24 20:36:43 2019 New Revision: 352661 URL: https://svnweb.freebsd.org/changeset/base/352661 Log: 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@) Modified: head/sys/netinet/tcp_stacks/bbr.c head/sys/netinet/tcp_stacks/rack.c Modified: head/sys/netinet/tcp_stacks/bbr.c ============================================================================== --- head/sys/netinet/tcp_stacks/bbr.c Tue Sep 24 20:11:55 2019 (r352660) +++ head/sys/netinet/tcp_stacks/bbr.c Tue Sep 24 20:36:43 2019 (r352661) @@ -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); Modified: head/sys/netinet/tcp_stacks/rack.c ============================================================================== --- head/sys/netinet/tcp_stacks/rack.c Tue Sep 24 20:11:55 2019 (r352660) +++ head/sys/netinet/tcp_stacks/rack.c Tue Sep 24 20:36:43 2019 (r352661) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909242036.x8OKahnv021758>