summaryrefslogtreecommitdiff
path: root/src/coding.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-10 20:39:45 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-10 20:39:45 -0700
commit955cbe7b1720f09b2991b7d981147d9cc79d52e3 (patch)
tree72ce39606c71e4ace0891f2127a7ef4fca32c209 /src/coding.h
parent95c82688bc8063f0be5a04baee5ea2a18f9ddf6b (diff)
downloademacs-955cbe7b1720f09b2991b7d981147d9cc79d52e3.tar.gz
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/coding.h')
-rw-r--r--src/coding.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/coding.h b/src/coding.h
index 8414a2fe133..ff7fcc7c3ac 100644
--- a/src/coding.h
+++ b/src/coding.h
@@ -757,10 +757,9 @@ extern Lisp_Object preferred_coding_system (void);
extern Lisp_Object Qutf_8, Qutf_8_emacs;
-extern Lisp_Object Qcoding_system, Qeol_type, Qcoding_category_index;
+extern Lisp_Object Qcoding_category_index;
extern Lisp_Object Qcoding_system_p;
extern Lisp_Object Qraw_text, Qemacs_mule, Qno_conversion, Qundecided;
-extern Lisp_Object Qiso_2022;
extern Lisp_Object Qbuffer_file_coding_system;
extern Lisp_Object Qunix, Qdos, Qmac;
@@ -789,4 +788,3 @@ extern char emacs_mule_bytes[256];
extern int emacs_mule_string_char (unsigned char *);
#endif /* EMACS_CODING_H */
-