diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-04-06 04:42:10 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-04-06 04:42:10 +0000 |
commit | ffceee0a9bdf5623166b2e619112624678bdd7d6 (patch) | |
tree | 6b4c1cde2b4bfeae53032bc8bd9ddd33aa7b1f10 /sys/net/if_enc.c | |
parent | ccea5a5a7c92530c31d0d76d0c1b2fd4ccf7e938 (diff) |
Move offsetof define into sys/param.h
Diffstat (limited to 'sys/net/if_enc.c')
-rw-r--r-- | sys/net/if_enc.c | 6 |
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)); |