Declare Lisp_Object Q* variables to be 'static' if not exproted.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Apr 2011 03:39:45 +0000 (20:39 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Apr 2011 03:39:45 +0000 (20:39 -0700)
commit955cbe7b1720f09b2991b7d981147d9cc79d52e3
tree72ce39606c71e4ace0891f2127a7ef4fca32c209
parent95c82688bc8063f0be5a04baee5ea2a18f9ddf6b
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.
54 files changed:
src/ChangeLog
src/alloc.c
src/buffer.c
src/bytecode.c
src/callint.c
src/casetab.c
src/category.c
src/ccl.c
src/ccl.h
src/character.c
src/character.h
src/charset.c
src/charset.h
src/cmds.c
src/coding.c
src/coding.h
src/composite.c
src/composite.h
src/data.c
src/dbusbind.c
src/dired.c
src/editfns.c
src/eval.c
src/fileio.c
src/fns.c
src/font.c
src/font.h
src/frame.c
src/frame.h
src/fringe.c
src/ftfont.c
src/image.c
src/intervals.h
src/keyboard.c
src/keyboard.h
src/keymap.c
src/lisp.h
src/lread.c
src/macros.c
src/minibuf.c
src/print.c
src/process.c
src/process.h
src/search.c
src/sound.c
src/syntax.c
src/syntax.h
src/textprop.c
src/window.c
src/xdisp.c
src/xfaces.c
src/xfns.c
src/xmenu.c
src/xselect.c