summaryrefslogtreecommitdiff
path: root/sys/dev/ic/aac.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/dev/ic/aac.c
parentccea5a5a7c92530c31d0d76d0c1b2fd4ccf7e938 (diff)
Move offsetof define into sys/param.h
Diffstat (limited to 'sys/dev/ic/aac.c')
-rw-r--r--sys/dev/ic/aac.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/ic/aac.c b/sys/dev/ic/aac.c
index 91f4d7410fc..6de5a326f0a 100644
--- a/sys/dev/ic/aac.c
+++ b/sys/dev/ic/aac.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aac.c,v 1.3 2000/12/13 16:03:11 mickey Exp $ */
+/* $OpenBSD: aac.c,v 1.4 2001/04/06 04:42:06 csapuntz Exp $ */
/*-
* Copyright (c) 2000 Michael Smith
@@ -62,9 +62,6 @@
#include <dev/ic/aacvar.h>
#include <dev/ic/aac_tables.h>
-/* XXX from stddef.h */
-#define offsetof(type, member) ((size_t)(&((type *)0)->member))
-
/* Geometry constants. */
#define AAC_MAXCYLS 1024
#define AAC_HEADS 64