summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/inet/tcp/tcp_stats.c
diff options
context:
space:
mode:
authorJohn Sonnenschein <johns@joyent.com>2012-09-10 18:56:23 +0000
committerJohn Sonnenschein <johns@joyent.com>2012-09-10 18:56:23 +0000
commitafbdbc48afac5b7bf58802c53226754c256215d1 (patch)
tree6fc5e9a77019ae61b4ce07fd9b41f04827c356f5 /usr/src/uts/common/inet/tcp/tcp_stats.c
parent4effda7fc5d948821a09a60e6385149d48c7e9dd (diff)
parent70f56fa69343b013f47e010537cff8ef3a7a40a5 (diff)
downloadillumos-joyent-afbdbc48afac5b7bf58802c53226754c256215d1.tar.gz
illumos sync
Diffstat (limited to 'usr/src/uts/common/inet/tcp/tcp_stats.c')
-rw-r--r--usr/src/uts/common/inet/tcp/tcp_stats.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/uts/common/inet/tcp/tcp_stats.c b/usr/src/uts/common/inet/tcp/tcp_stats.c
index 3cc5627b27..e6b13fe6c9 100644
--- a/usr/src/uts/common/inet/tcp/tcp_stats.c
+++ b/usr/src/uts/common/inet/tcp/tcp_stats.c
@@ -38,8 +38,8 @@
#include <inet/kstatcom.h>
#include <inet/snmpcom.h>
-static int tcp_kstat_update(kstat_t *kp, int rw);
-static int tcp_kstat2_update(kstat_t *kp, int rw);
+static int tcp_kstat_update(kstat_t *, int);
+static int tcp_kstat2_update(kstat_t *, int);
static void tcp_sum_mib(tcp_stack_t *, mib2_tcp_t *);
static void tcp_add_mib(mib2_tcp_t *, mib2_tcp_t *);
@@ -817,7 +817,7 @@ tcp_kstat2_update(kstat_t *kp, int rw)
* To add stats from one mib2_tcp_t to another. Static fields are not added.
* The caller should set them up propertly.
*/
-void
+static void
tcp_add_mib(mib2_tcp_t *from, mib2_tcp_t *to)
{
to->tcpActiveOpens += from->tcpActiveOpens;