svn commit: r289326 - head/sys/netinet

Bjoern A. Zeeb bz at FreeBSD.org
Wed Oct 14 18:30:05 UTC 2015


Author: bz
Date: Wed Oct 14 18:30:04 2015
New Revision: 289326
URL: https://svnweb.freebsd.org/changeset/base/289326

Log:
  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.

Modified:
  head/sys/netinet/tcp_pcap.c

Modified: head/sys/netinet/tcp_pcap.c
==============================================================================
--- head/sys/netinet/tcp_pcap.c	Wed Oct 14 18:29:53 2015	(r289325)
+++ head/sys/netinet/tcp_pcap.c	Wed Oct 14 18:30:04 2015	(r289326)
@@ -76,12 +76,16 @@ SYSCTL_INT(_net_inet_tcp, OID_AUTO, tcp_
 
 /* 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);


More information about the svn-src-head mailing list