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/kern/subr_log.c | |
parent | ccea5a5a7c92530c31d0d76d0c1b2fd4ccf7e938 (diff) |
Move offsetof define into sys/param.h
Diffstat (limited to 'sys/kern/subr_log.c')
-rw-r--r-- | sys/kern/subr_log.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/subr_log.c b/sys/kern/subr_log.c index 00eb5a93bc9..dd990012764 100644 --- a/sys/kern/subr_log.c +++ b/sys/kern/subr_log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_log.c,v 1.6 2000/02/22 19:28:03 deraadt Exp $ */ +/* $OpenBSD: subr_log.c,v 1.7 2001/04/06 04:42:07 csapuntz Exp $ */ /* $NetBSD: subr_log.c,v 1.11 1996/03/30 22:24:44 christos Exp $ */ /* @@ -69,8 +69,6 @@ int msgbufmapped; /* is the message buffer mapped */ int msgbufenabled; /* is logging to the buffer enabled */ struct msgbuf *msgbufp; /* the mapped buffer, itself. */ -#define offsetof(type, member) ((size_t)(&((type *)0)->member)) - void initmsgbuf(buf, bufsize) caddr_t buf; |