summaryrefslogtreecommitdiff
path: root/sys/net/if_enc.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/net/if_enc.c
parentccea5a5a7c92530c31d0d76d0c1b2fd4ccf7e938 (diff)
Move offsetof define into sys/param.h
Diffstat (limited to 'sys/net/if_enc.c')
-rw-r--r--sys/net/if_enc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/net/if_enc.c b/sys/net/if_enc.c
index de1f7e5b7e3..308d36f8740 100644
--- a/sys/net/if_enc.c
+++ b/sys/net/if_enc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_enc.c,v 1.32 2000/12/30 22:56:23 angelos Exp $ */
+/* $OpenBSD: if_enc.c,v 1.33 2001/04/06 04:42:07 csapuntz Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -91,10 +91,6 @@ extern struct ifqueue nsintrq;
#define DPRINTF(x)
#endif
-#ifndef offsetof
-#define offsetof(s, e) ((int)&((s *)0)->e)
-#endif
-
struct enc_softc encif[NENC];
void encattach __P((int));