summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_ipsp.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/ip_ipsp.c
parentccea5a5a7c92530c31d0d76d0c1b2fd4ccf7e938 (diff)
Move offsetof define into sys/param.h
Diffstat (limited to 'sys/netinet/ip_ipsp.c')
-rw-r--r--sys/netinet/ip_ipsp.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/netinet/ip_ipsp.c b/sys/netinet/ip_ipsp.c
index 16e9fcad43a..7161e90658b 100644
--- a/sys/netinet/ip_ipsp.c
+++ b/sys/netinet/ip_ipsp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipsp.c,v 1.112 2001/03/28 20:34:03 angelos Exp $ */
+/* $OpenBSD: ip_ipsp.c,v 1.113 2001/04/06 04:42:08 csapuntz Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -83,10 +83,6 @@ void tdb_hashstats(void);
#define DPRINTF(x)
#endif
-#ifndef offsetof
-#define offsetof(s, e) ((int)&((s *)0)->e)
-#endif
-
#ifdef __GNUC__
#define INLINE static __inline
#endif