Mercurial > emacs
comparison src/ChangeLog @ 109320:a0d2db31314d
Use offsetof instead of own definition
* lisp.h: Include <stddef.h>.
(OFFSETOF): Don't define.
(VECSIZE): Use offsetof instead of OFFSETOF.
(PSEUDOVECSIZE): Likewise.
* process.c (conv_sockaddr_to_lisp): Likewise.
* alloc.c: Don't include <stddef.h>.
* buffer.h (PER_BUFFER_VAR_OFFSET): Use offsetof.
author | Andreas Schwab <schwab@linux-m68k.org> |
---|---|
date | Sun, 11 Jul 2010 20:34:43 +0200 |
parents | 108c259501da |
children | 6e14fb772f21 |
comparison
equal
deleted
inserted
replaced
109319:108c259501da | 109320:a0d2db31314d |
---|---|
1 2010-07-11 Andreas Schwab <schwab@linux-m68k.org> | 1 2010-07-11 Andreas Schwab <schwab@linux-m68k.org> |
2 | |
3 * lisp.h: Include <stddef.h>. | |
4 (OFFSETOF): Don't define. | |
5 (VECSIZE): Use offsetof instead of OFFSETOF. | |
6 (PSEUDOVECSIZE): Likewise. | |
7 * process.c (conv_sockaddr_to_lisp): Likewise. | |
8 * alloc.c: Don't include <stddef.h>. | |
9 * buffer.h (PER_BUFFER_VAR_OFFSET): Use offsetof. | |
2 | 10 |
3 * process.c: Remove obsolete comment. | 11 * process.c: Remove obsolete comment. |
4 | 12 |
5 2010-07-11 Chong Yidong <cyd@stupidchicken.com> | 13 2010-07-11 Chong Yidong <cyd@stupidchicken.com> |
6 | 14 |