diff options
| author | Paul Eggert | 2012-09-02 09:56:31 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-09-02 09:56:31 -0700 |
| commit | a411ac43d3667d042fa36361275eccbe9aca80af (patch) | |
| tree | 84dce13f623718359f808b9c1b088ce6ad23e7bb /src/xterm.c | |
| parent | c04889f8e34e69ed496fcaaab285eac34e96acc1 (diff) | |
| download | emacs-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/xterm.c')
| -rw-r--r-- | src/xterm.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/xterm.c b/src/xterm.c index 7e61cc4d8ea..052db0f3e63 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -165,13 +165,6 @@ struct x_display_info *x_display_list; | |||
| 165 | 165 | ||
| 166 | Lisp_Object x_display_name_list; | 166 | Lisp_Object x_display_name_list; |
| 167 | 167 | ||
| 168 | /* Frame being updated by update_frame. This is declared in term.c. | ||
| 169 | This is set by update_begin and looked at by all the XT functions. | ||
| 170 | It is zero while not inside an update. In that case, the XT | ||
| 171 | functions assume that `selected_frame' is the frame to apply to. */ | ||
| 172 | |||
| 173 | extern struct frame *updating_frame; | ||
| 174 | |||
| 175 | /* This is a frame waiting to be auto-raised, within XTread_socket. */ | 168 | /* This is a frame waiting to be auto-raised, within XTread_socket. */ |
| 176 | 169 | ||
| 177 | static struct frame *pending_autoraise_frame; | 170 | static struct frame *pending_autoraise_frame; |
| @@ -10609,8 +10602,6 @@ x_activate_timeout_atimer (void) | |||
| 10609 | 10602 | ||
| 10610 | /* Set up use of X before we make the first connection. */ | 10603 | /* Set up use of X before we make the first connection. */ |
| 10611 | 10604 | ||
| 10612 | extern frame_parm_handler x_frame_parm_handlers[]; | ||
| 10613 | |||
| 10614 | static struct redisplay_interface x_redisplay_interface = | 10605 | static struct redisplay_interface x_redisplay_interface = |
| 10615 | { | 10606 | { |
| 10616 | x_frame_parm_handlers, | 10607 | x_frame_parm_handlers, |