aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2012-09-02 09:56:31 -0700
committerPaul Eggert2012-09-02 09:56:31 -0700
commita411ac43d3667d042fa36361275eccbe9aca80af (patch)
tree84dce13f623718359f808b9c1b088ce6ad23e7bb /src/ChangeLog
parentc04889f8e34e69ed496fcaaab285eac34e96acc1 (diff)
downloademacs-a411ac43d3667d042fa36361275eccbe9aca80af.tar.gz
emacs-a411ac43d3667d042fa36361275eccbe9aca80af.zip
Clean up some extern decls.
Mostly, this hoists extern decls out of .c files and into .h files. That way, we're more likely to catch errors if the interfaces change. * alloc.c [USE_GTK]: Include "gtkutil.h" so that we need not declare xg_mark_data. * dispextern.h (x_frame_parm_handlers): * font.h (Qxft): * lisp.h (Qlexical_binding, Qinternal_interpreter_environment) (Qextra_light, Qlight, Qsemi_light, Qsemi_bold, Qbold, Qextra_bold) (Qultra_bold, Qoblique, Qitalic): Move extern decl here from .c file. * alloc.c (xg_mark_data) [USE_GTK]: * doc.c (Qclosure): * eval.c (Qlexical_binding): * fns.c (time) [!HAVE_UNISTD_H]: * gtkutil.c (Qxft, Qnormal, Qextra_light, Qlight, Qsemi_light) (Qsemi_bold, Qbold, Qextra_bold, Qultra_bold, Qoblique, Qitalic): * image.c (Vlibrary_cache, QCloaded_from) [HAVE_NTGUI]: * lread.c (Qinternal_interpreter_environment): * minibuf.c (Qbuffer): * process.c (QCfamily, QCfilter): * widget.c (free_frame_faces): * xfaces.c (free_frame_menubar) [USE_X_TOOLKIT]: * xfont.c (x_clear_errors): * xterm.c (x_frame_parm_handlers): Remove now-redundant extern decls. * keyboard.c, keyboard.h (ignore_mouse_drag_p) [USE_GTK || HAVE_NS]: * xfaces.c (Qultra_light, Qreverse_oblique, Qreverse_italic): Now static. * xfaces.c: Remove unnecessary static decls. * xterm.c (updating_frame): Remove decl of nonexistent object.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4986726d7c8..a5978e6456b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,37 @@
12012-09-02 Paul Eggert <eggert@cs.ucla.edu> 12012-09-02 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 Clean up some extern decls.
4 Mostly, this hoists extern decls out of .c files and into .h files.
5 That way, we're more likely to catch errors if the interfaces change.
6 * alloc.c [USE_GTK]: Include "gtkutil.h" so that we need not
7 declare xg_mark_data.
8 * dispextern.h (x_frame_parm_handlers):
9 * font.h (Qxft):
10 * lisp.h (Qlexical_binding, Qinternal_interpreter_environment)
11 (Qextra_light, Qlight, Qsemi_light, Qsemi_bold, Qbold, Qextra_bold)
12 (Qultra_bold, Qoblique, Qitalic):
13 Move extern decl here from .c file.
14 * alloc.c (xg_mark_data) [USE_GTK]:
15 * doc.c (Qclosure):
16 * eval.c (Qlexical_binding):
17 * fns.c (time) [!HAVE_UNISTD_H]:
18 * gtkutil.c (Qxft, Qnormal, Qextra_light, Qlight, Qsemi_light)
19 (Qsemi_bold, Qbold, Qextra_bold, Qultra_bold, Qoblique, Qitalic):
20 * image.c (Vlibrary_cache, QCloaded_from) [HAVE_NTGUI]:
21 * lread.c (Qinternal_interpreter_environment):
22 * minibuf.c (Qbuffer):
23 * process.c (QCfamily, QCfilter):
24 * widget.c (free_frame_faces):
25 * xfaces.c (free_frame_menubar) [USE_X_TOOLKIT]:
26 * xfont.c (x_clear_errors):
27 * xterm.c (x_frame_parm_handlers):
28 Remove now-redundant extern decls.
29 * keyboard.c, keyboard.h (ignore_mouse_drag_p) [USE_GTK || HAVE_NS]:
30 * xfaces.c (Qultra_light, Qreverse_oblique, Qreverse_italic):
31 Now static.
32 * xfaces.c: Remove unnecessary static decls.
33 * xterm.c (updating_frame): Remove decl of nonexistent object.
34
3 * Makefile.in (gl-stamp): Don't scan $(SOME_MACHINE_OBJECTS) 35 * Makefile.in (gl-stamp): Don't scan $(SOME_MACHINE_OBJECTS)
4 when building globals.h, as the objects that are not built on 36 when building globals.h, as the objects that are not built on
5 this host are not needed to compile C files on this host. 37 this host are not needed to compile C files on this host.