aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
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/process.c
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/process.c')
-rw-r--r--src/process.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/process.c b/src/process.c
index bfac054c3c2..81fa98a028d 100644
--- a/src/process.c
+++ b/src/process.c
@@ -165,16 +165,6 @@ static Lisp_Object QClocal, QCremote, QCcoding;
165static Lisp_Object QCserver, QCnowait, QCnoquery, QCstop; 165static Lisp_Object QCserver, QCnowait, QCnoquery, QCstop;
166static Lisp_Object QCsentinel, QClog, QCoptions, QCplist; 166static Lisp_Object QCsentinel, QClog, QCoptions, QCplist;
167static Lisp_Object Qlast_nonmenu_event; 167static Lisp_Object Qlast_nonmenu_event;
168/* QCfamily is declared and initialized in xfaces.c,
169 QCfilter in keyboard.c. */
170extern Lisp_Object QCfamily, QCfilter;
171
172/* Qexit is declared and initialized in eval.c. */
173
174/* QCfamily is defined in xfaces.c. */
175extern Lisp_Object QCfamily;
176/* QCfilter is defined in keyboard.c. */
177extern Lisp_Object QCfilter;
178 168
179#define NETCONN_P(p) (EQ (XPROCESS (p)->type, Qnetwork)) 169#define NETCONN_P(p) (EQ (XPROCESS (p)->type, Qnetwork))
180#define NETCONN1_P(p) (EQ (p->type, Qnetwork)) 170#define NETCONN1_P(p) (EQ (p->type, Qnetwork))