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/dispextern.h | |
| 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/dispextern.h')
| -rw-r--r-- | src/dispextern.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index 1140d98f8a7..e74e7deb591 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -3251,9 +3251,12 @@ void x_implicitly_set_name (struct frame *, Lisp_Object, Lisp_Object); | |||
| 3251 | 3251 | ||
| 3252 | extern Lisp_Object tip_frame; | 3252 | extern Lisp_Object tip_frame; |
| 3253 | extern Window tip_window; | 3253 | extern Window tip_window; |
| 3254 | extern frame_parm_handler x_frame_parm_handlers[]; | ||
| 3255 | |||
| 3254 | extern void start_hourglass (void); | 3256 | extern void start_hourglass (void); |
| 3255 | extern void cancel_hourglass (void); | 3257 | extern void cancel_hourglass (void); |
| 3256 | extern int hourglass_shown_p; | 3258 | extern int hourglass_shown_p; |
| 3259 | |||
| 3257 | struct atimer; /* Defined in atimer.h. */ | 3260 | struct atimer; /* Defined in atimer.h. */ |
| 3258 | /* If non-null, an asynchronous timer that, when it expires, displays | 3261 | /* If non-null, an asynchronous timer that, when it expires, displays |
| 3259 | an hourglass cursor on all frames. */ | 3262 | an hourglass cursor on all frames. */ |