aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorJan Djärv2008-02-07 12:47:00 +0000
committerJan Djärv2008-02-07 12:47:00 +0000
commit92413ef3a119c29af24901e66b393d3c69cc83b5 (patch)
tree597e3de17cbc3588975e040fdc239331b439d066 /src/ChangeLog
parent03fa5713cc5eb2226a5ca3fb1ce59a9e9f46ffae (diff)
downloademacs-92413ef3a119c29af24901e66b393d3c69cc83b5.tar.gz
emacs-92413ef3a119c29af24901e66b393d3c69cc83b5.zip
Use "do...while (0)", not "if (1)..else" in macro definitions.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9fcc90c2391..396ce321f72 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,15 @@
12008-02-07 Jim Meyering <meyering@redhat.com> 12008-02-07 Jim Meyering <meyering@redhat.com>
2 2
3 Use "do...while (0)", not "if (1)..else" in macro definitions.
4 The latter provokes a warning from gcc about the empty else, when
5 followed by ";". Also, without that trailing semicolon, it would
6 silently swallow up any following statement.
7 * syntax.h (SETUP_SYNTAX_TABLE):
8 (SETUP_SYNTAX_TABLE_FOR_OBJECT): Likewise.
9 * buffer.h (DECODE_POSITION): Likewise.
10
112008-02-07 Jim Meyering <meyering@redhat.com>
12
3 * lread.c [lint]: Don't include <sys/inode.h>. 13 * lread.c [lint]: Don't include <sys/inode.h>.
4 14
52008-02-07 Stefan Monnier <monnier@iro.umontreal.ca> 152008-02-07 Stefan Monnier <monnier@iro.umontreal.ca>