aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2011-04-10 20:39:45 -0700
committerPaul Eggert2011-04-10 20:39:45 -0700
commit955cbe7b1720f09b2991b7d981147d9cc79d52e3 (patch)
tree72ce39606c71e4ace0891f2127a7ef4fca32c209 /src/ChangeLog
parent95c82688bc8063f0be5a04baee5ea2a18f9ddf6b (diff)
downloademacs-955cbe7b1720f09b2991b7d981147d9cc79d52e3.tar.gz
emacs-955cbe7b1720f09b2991b7d981147d9cc79d52e3.zip
Declare Lisp_Object Q* variables to be 'static' if not exproted.
This makes it easier for human readers (and static analyzers) to see whether these variables are used from other modules. * alloc.c, buffer.c, bytecode.c, callint.c, casetab.c, category.c: * ccl.c, character.c, charset.c, cmds.c, coding.c, composite.c: * data.c, dbusbind.c, dired.c, editfns.c, eval.c, fileio.c, fns.c: * font.c, frame.c, fringe.c, ftfont.c, image.c, keyboard.c, keymap.c: * lread.c, macros.c, minibuf.c, print.c, process.c, search.c: * sound.c, syntax.c, textprop.c, window.c, xdisp.c, xfaces.c, xfns.c: * xmenu.c, xselect.c: Declare Q* vars static if they are not used in other modules. * ccl.h, character.h, charset.h, coding.h, composite.h, font.h: * frame.h, intervals.h, keyboard.h, lisp.h, process.h, syntax.h: Remove decls of unexported vars. * keyboard.h (EVENT_HEAD_UNMODIFIED): Remove now-unused macro.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 8d492d1cdf5..0be406a6e7b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,21 @@
12011-04-11 Paul Eggert <eggert@cs.ucla.edu> 12011-04-11 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 Declare Lisp_Object Q* variables to be 'static' if not exproted.
4 This makes it easier for human readers (and static analyzers)
5 to see whether these variables are used from other modules.
6 * alloc.c, buffer.c, bytecode.c, callint.c, casetab.c, category.c:
7 * ccl.c, character.c, charset.c, cmds.c, coding.c, composite.c:
8 * data.c, dbusbind.c, dired.c, editfns.c, eval.c, fileio.c, fns.c:
9 * font.c, frame.c, fringe.c, ftfont.c, image.c, keyboard.c, keymap.c:
10 * lread.c, macros.c, minibuf.c, print.c, process.c, search.c:
11 * sound.c, syntax.c, textprop.c, window.c, xdisp.c, xfaces.c, xfns.c:
12 * xmenu.c, xselect.c:
13 Declare Q* vars static if they are not used in other modules.
14 * ccl.h, character.h, charset.h, coding.h, composite.h, font.h:
15 * frame.h, intervals.h, keyboard.h, lisp.h, process.h, syntax.h:
16 Remove decls of unexported vars.
17 * keyboard.h (EVENT_HEAD_UNMODIFIED): Remove now-unused macro.
18
3 * lisp.h (DEFINE_FUNC): Make sname 'static'. 19 * lisp.h (DEFINE_FUNC): Make sname 'static'.
4 20
5 Make Emacs functions such as Fatom 'static' by default. 21 Make Emacs functions such as Fatom 'static' by default.