Properly define functions withut argument and wrap for { for style purposes

as followed in the rest of the file.  This will hopefully make gcc more happy.
This commit is contained in:
Bjoern A. Zeeb 2015-10-14 18:30:04 +00:00
parent bd56d410c4
commit f87ec781ef
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=289326

View File

@ -76,12 +76,16 @@ SYSCTL_INT(_net_inet_tcp, OID_AUTO, tcp_pcap_packets, CTLFLAG_RW,
/* Initialize the values. */
static void
tcp_pcap_max_set() {
tcp_pcap_max_set(void)
{
tcp_pcap_clusters_referenced_max = nmbclusters / 4;
}
void
tcp_pcap_init() {
tcp_pcap_init(void)
{
tcp_pcap_max_set();
EVENTHANDLER_REGISTER(nmbclusters_change, tcp_pcap_max_set,
NULL, EVENTHANDLER_PRI_ANY);