aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorAndreas Schwab2010-07-11 20:34:43 +0200
committerAndreas Schwab2010-07-11 20:34:43 +0200
commit89887d672aded197a2be95f3d8a6d5bdcb19eb58 (patch)
treefefa168f1ddbc3c0f04f3e891cc20007a65e11a4 /src/ChangeLog
parentae96d47a63b32aa752bc65ce08f8b7b7254db3e6 (diff)
downloademacs-89887d672aded197a2be95f3d8a6d5bdcb19eb58.tar.gz
emacs-89887d672aded197a2be95f3d8a6d5bdcb19eb58.zip
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.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 48ba055280c..2e5ea4658dc 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,13 @@
12010-07-11 Andreas Schwab <schwab@linux-m68k.org> 12010-07-11 Andreas Schwab <schwab@linux-m68k.org>
2 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.
10
3 * process.c: Remove obsolete comment. 11 * process.c: Remove obsolete comment.
4 12
52010-07-11 Chong Yidong <cyd@stupidchicken.com> 132010-07-11 Chong Yidong <cyd@stupidchicken.com>