diff options
author | phk <phk@FreeBSD.org> | 2000-10-24 13:54:31 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-10-24 13:54:31 +0000 |
commit | 520b5dea3bc3fa506202542785d119227b1aeaf0 (patch) | |
tree | 8502a9511f4aef5d4c5a3497cd714706074c5177 /usr.bin/mail/def.h | |
parent | b73016669c67b64323421a9f7a49c54a79fdbe1d (diff) | |
download | FreeBSD-src-520b5dea3bc3fa506202542785d119227b1aeaf0.zip FreeBSD-src-520b5dea3bc3fa506202542785d119227b1aeaf0.tar.gz |
Add $FreeBSD$
Rename local offsetof() macro to boffsetof() to avoid clashing with
the offsetof() from <stddef.h>
Diffstat (limited to 'usr.bin/mail/def.h')
-rw-r--r-- | usr.bin/mail/def.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mail/def.h b/usr.bin/mail/def.h index f4f417a..c81cdd6 100644 --- a/usr.bin/mail/def.h +++ b/usr.bin/mail/def.h @@ -31,6 +31,8 @@ * SUCH DAMAGE. * * @(#)def.h 8.2 (Berkeley) 3/21/94 + * + * $FreeBSD$ */ /* @@ -94,7 +96,7 @@ struct message { * Given a file address, determine the block number it represents. */ #define blockof(off) ((int) ((off) / 4096)) -#define offsetof(off) ((int) ((off) % 4096)) +#define boffsetof(off) ((int) ((off) % 4096)) #define positionof(block, offset) ((off_t)(block) * 4096 + (offset)) /* |