summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
authorConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2001-04-06 04:42:10 +0000
committerConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2001-04-06 04:42:10 +0000
commitffceee0a9bdf5623166b2e619112624678bdd7d6 (patch)
tree6b4c1cde2b4bfeae53032bc8bd9ddd33aa7b1f10 /sys/netinet/tcp_subr.c
parentccea5a5a7c92530c31d0d76d0c1b2fd4ccf7e938 (diff)
Move offsetof define into sys/param.h
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r--sys/netinet/tcp_subr.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 02b24889d21..4bc0ae71247 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_subr.c,v 1.40 2001/03/14 19:21:33 mickey Exp $ */
+/* $OpenBSD: tcp_subr.c,v 1.41 2001/04/06 04:42:09 csapuntz Exp $ */
/* $NetBSD: tcp_subr.c,v 1.22 1996/02/13 23:44:00 christos Exp $ */
/*
@@ -89,10 +89,6 @@ didn't get a copy, you may request one from <license@ipv6.nrl.navy.mil>.
#include <sys/md5k.h>
#endif /* TCP_SIGNATURE */
-#ifndef offsetof
-#define offsetof(type, member) ((size_t)(&((type *)0)->member))
-#endif
-
/* patchable/settable parameters for tcp */
int tcp_mssdflt = TCP_MSS;
int tcp_rttdflt = TCPTV_SRTTDFLT / PR_SLOWHZ;