aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2012-04-15 20:38:40 -0700
committerPaul Eggert2012-04-15 20:38:40 -0700
commitb62a57beb523298caa95c2d85c65eeb6e9af7af9 (patch)
tree26f5a8bdf3c68bced1be3eb2e09807e9123cd3bb /src/ChangeLog
parent3539f31f03b40bafa0875de88e3a5d55558ba32c (diff)
downloademacs-b62a57beb523298caa95c2d85c65eeb6e9af7af9.tar.gz
emacs-b62a57beb523298caa95c2d85c65eeb6e9af7af9.zip
Fix minor alloc.c problems found by static checking.
* alloc.c (_malloc_internal, _free_internal) [!DOUG_LEA_MALLOC]: New extern decls, to avoid calling undeclared functions. (dont_register_blocks): Define if ((!SYSTEM_MALLOC && !SYNC_INPUT) && GC_MALLOC_CHECK), not if ((GC_MARK_STACK || defined GC_MALLOC_CHECK) && GC_MALLOC_CHECK), to match when it's used. (NEED_MEM_INSERT): New macro. (mem_insert, mem_insert_fixup) [!NEED_MEM_INSERT]: Remove; unused.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 06ae5016cf3..7172ba605f5 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,14 @@
12012-04-16 Paul Eggert <eggert@cs.ucla.edu> 12012-04-16 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 Fix minor alloc.c problems found by static checking.
4 * alloc.c (_malloc_internal, _free_internal) [!DOUG_LEA_MALLOC]:
5 New extern decls, to avoid calling undeclared functions.
6 (dont_register_blocks): Define if ((!SYSTEM_MALLOC && !SYNC_INPUT)
7 && GC_MALLOC_CHECK), not if ((GC_MARK_STACK || defined
8 GC_MALLOC_CHECK) && GC_MALLOC_CHECK), to match when it's used.
9 (NEED_MEM_INSERT): New macro.
10 (mem_insert, mem_insert_fixup) [!NEED_MEM_INSERT]: Remove; unused.
11
3 Fix minor ralloc.c problems found by static checking. 12 Fix minor ralloc.c problems found by static checking.
4 See http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html 13 See http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html
5 * ralloc.c (ALIGNED, ROUND_TO_PAGE, HEAP_PTR_SIZE) 14 * ralloc.c (ALIGNED, ROUND_TO_PAGE, HEAP_PTR_SIZE)