aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2011-04-10 21:39:49 -0700
committerPaul Eggert2011-04-10 21:39:49 -0700
commit244ed9077fe7ccebbc15c7157cb45832f46a46d3 (patch)
tree4c3916d81881be940d2dd33d9abda979f88e5580 /src/ChangeLog
parent955cbe7b1720f09b2991b7d981147d9cc79d52e3 (diff)
downloademacs-244ed9077fe7ccebbc15c7157cb45832f46a46d3.tar.gz
emacs-244ed9077fe7ccebbc15c7157cb45832f46a46d3.zip
alloc.c: Import and export fewer symbols, and remove unused items.
* lisp.h (suppress_checking, die): Declare only if ENABLE_CHECKING is defined. (suppress_checking): Add EXTERNALLY_VISIBLE attribute, so that it's not optimized away by whole-program optimization. (message_enable_multibyte, free_misc): Remove. (catchlist, handlerlist, mark_backtrace): Declare only if BYTE_MARK_STACK. (mark_byte_stack): Likewise, fixing a ifdef-vs-if typo. * alloc.c (pure): Export only if VIRT_ADDR_VARIES is defined. (message_enable_multibyte): Remove decl. (free_misc, interval_free_list, float_block, float_block_index): (n_float_blocks, float_free_list, cons_block, cons_block_index): (cons_free_list, last_marked_index): Now static. (suppress_checking, die): Define only if ENABLE_CHECKING is defined. * eval.c (catchlist, handlerlist): Export only if BYTE_MARK_STACK. (mark_backtrace): Define only if BYTE_MARK_STACK. * xdisp.c (message_enable_multibyte): Now static.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 0be406a6e7b..43358338c4d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,25 @@
12011-04-11 Paul Eggert <eggert@cs.ucla.edu> 12011-04-11 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 alloc.c: Import and export fewer symbols, and remove unused items.
4 * lisp.h (suppress_checking, die): Declare only if ENABLE_CHECKING
5 is defined.
6 (suppress_checking): Add EXTERNALLY_VISIBLE attribute, so that
7 it's not optimized away by whole-program optimization.
8 (message_enable_multibyte, free_misc): Remove.
9 (catchlist, handlerlist, mark_backtrace):
10 Declare only if BYTE_MARK_STACK.
11 (mark_byte_stack): Likewise, fixing a ifdef-vs-if typo.
12 * alloc.c (pure): Export only if VIRT_ADDR_VARIES is defined.
13 (message_enable_multibyte): Remove decl.
14 (free_misc, interval_free_list, float_block, float_block_index):
15 (n_float_blocks, float_free_list, cons_block, cons_block_index):
16 (cons_free_list, last_marked_index):
17 Now static.
18 (suppress_checking, die): Define only if ENABLE_CHECKING is defined.
19 * eval.c (catchlist, handlerlist): Export only if BYTE_MARK_STACK.
20 (mark_backtrace): Define only if BYTE_MARK_STACK.
21 * xdisp.c (message_enable_multibyte): Now static.
22
3 Declare Lisp_Object Q* variables to be 'static' if not exproted. 23 Declare Lisp_Object Q* variables to be 'static' if not exproted.
4 This makes it easier for human readers (and static analyzers) 24 This makes it easier for human readers (and static analyzers)
5 to see whether these variables are used from other modules. 25 to see whether these variables are used from other modules.