diff options
author | 2001-04-06 04:42:05 +0000 | |
---|---|---|
committer | 2001-04-06 04:42:05 +0000 | |
commit | 140c8ec3518b5c4068a1f8c0fdc689a25841abc1 (patch) | |
tree | 7c435086844953c252dc4fd6dee5f1b12648a56c /sys/netinet/ipsec_input.c | |
parent | Free the right variable on error (diff) | |
download | wireguard-openbsd-140c8ec3518b5c4068a1f8c0fdc689a25841abc1.tar.xz wireguard-openbsd-140c8ec3518b5c4068a1f8c0fdc689a25841abc1.zip |
Move offsetof define into sys/param.h
Diffstat (limited to 'sys/netinet/ipsec_input.c')
-rw-r--r-- | sys/netinet/ipsec_input.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/netinet/ipsec_input.c b/sys/netinet/ipsec_input.c index e3284ddb362..2655b16bd05 100644 --- a/sys/netinet/ipsec_input.c +++ b/sys/netinet/ipsec_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsec_input.c,v 1.35 2001/03/30 19:22:54 angelos Exp $ */ +/* $OpenBSD: ipsec_input.c,v 1.36 2001/04/06 04:42:08 csapuntz Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -85,10 +85,6 @@ int ipsec_common_input(struct mbuf *, int, int, int, int); #define DPRINTF(x) #endif -#ifndef offsetof -#define offsetof(s, e) ((int)&((s *)0)->e) -#endif - /* sysctl variables */ int esp_enable = 0; int ah_enable = 0; |