aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2010-11-23 10:56:28 -0800
committerDan Nicolaescu2010-11-23 10:56:28 -0800
commitb932f8b17e8f5309710ccf14d1264343e90c805c (patch)
tree6ae9a4e13f90fdd0f8808508e4315fc9a75c6bcf /src
parent42c8bc9b87388258d1de6a714b051330570f0ff4 (diff)
downloademacs-b932f8b17e8f5309710ccf14d1264343e90c805c.tar.gz
emacs-b932f8b17e8f5309710ccf14d1264343e90c805c.zip
Move extern declarations from term.c to lisp.h.
* src/term.c (Qglyphless_char,last_glyphless_glyph_frame) (last_glyphless_glyph_face_id. last_glyphless_glyph_merged_face_id): Move declarations ... * src/lisp.h (Qglyphless_char,last_glyphless_glyph_frame) (last_glyphless_glyph_face_id. last_glyphless_glyph_merged_face_id): ... here.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog7
-rw-r--r--src/lisp.h4
-rw-r--r--src/term.c13
3 files changed, 15 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d8518e5cdda..7801d3c3cf5 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,12 @@
12010-11-23 Dan Nicolaescu <dann@ics.uci.edu> 12010-11-23 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * term.c (Qglyphless_char,last_glyphless_glyph_frame)
4 (last_glyphless_glyph_face_id. last_glyphless_glyph_merged_face_id):
5 Move declarations ...
6 * lisp.h (Qglyphless_char,last_glyphless_glyph_frame)
7 (last_glyphless_glyph_face_id. last_glyphless_glyph_merged_face_id):
8 ... here.
9
3 * emacs.c (gdb_use_union, gdb_valbits,gdb_gctypebits) 10 * emacs.c (gdb_use_union, gdb_valbits,gdb_gctypebits)
4 (gdb_data_seg_bits, gdb_array_mark_flag, PVEC_FLAG) 11 (gdb_data_seg_bits, gdb_array_mark_flag, PVEC_FLAG)
5 (gdb_pvec_type): 12 (gdb_pvec_type):
diff --git a/src/lisp.h b/src/lisp.h
index 623ba5382eb..b6ae2dcd073 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -2674,11 +2674,15 @@ extern Lisp_Object Qimage, Qtext, Qboth, Qboth_horiz, Qtext_image_horiz;
2674extern Lisp_Object Qspace, Qcenter, QCalign_to; 2674extern Lisp_Object Qspace, Qcenter, QCalign_to;
2675extern Lisp_Object Qbar, Qhbar, Qbox, Qhollow; 2675extern Lisp_Object Qbar, Qhbar, Qbox, Qhollow;
2676extern Lisp_Object Qleft_margin, Qright_margin; 2676extern Lisp_Object Qleft_margin, Qright_margin;
2677extern Lisp_Object Qglyphless_char;
2677extern Lisp_Object Vmessage_log_max; 2678extern Lisp_Object Vmessage_log_max;
2678extern Lisp_Object QCdata, QCfile; 2679extern Lisp_Object QCdata, QCfile;
2679extern Lisp_Object QCmap; 2680extern Lisp_Object QCmap;
2680extern Lisp_Object Qrisky_local_variable; 2681extern Lisp_Object Qrisky_local_variable;
2681extern Lisp_Object Vinhibit_redisplay; 2682extern Lisp_Object Vinhibit_redisplay;
2683extern struct frame *last_glyphless_glyph_frame;
2684extern unsigned last_glyphless_glyph_face_id;
2685extern int last_glyphless_glyph_merged_face_id;
2682extern int message_enable_multibyte; 2686extern int message_enable_multibyte;
2683extern int noninteractive_need_newline; 2687extern int noninteractive_need_newline;
2684extern EMACS_INT scroll_margin; 2688extern EMACS_INT scroll_margin;
diff --git a/src/term.c b/src/term.c
index 481a5d8853d..a684edc5a85 100644
--- a/src/term.c
+++ b/src/term.c
@@ -66,6 +66,10 @@ extern int tgetent (char *, const char *);
66extern int tgetflag (char *id); 66extern int tgetflag (char *id);
67extern int tgetnum (char *id); 67extern int tgetnum (char *id);
68 68
69char *tparam (char *, char *, int, int, ...);
70
71extern char *tgetstr (char *, char **);
72
69#include "cm.h" 73#include "cm.h"
70#ifdef HAVE_X_WINDOWS 74#ifdef HAVE_X_WINDOWS
71#include "xterm.h" 75#include "xterm.h"
@@ -176,9 +180,6 @@ static int no_controlling_tty;
176 180
177static int system_uses_terminfo; 181static int system_uses_terminfo;
178 182
179char *tparam (char *, char *, int, int, ...);
180
181extern char *tgetstr (char *, char **);
182 183
183 184
184#ifdef HAVE_GPM 185#ifdef HAVE_GPM
@@ -1914,12 +1915,6 @@ append_glyphless_glyph (struct it *it, int face_id, char *str)
1914 } 1915 }
1915} 1916}
1916 1917
1917/* Declared in xdisp.c */
1918extern struct frame *last_glyphless_glyph_frame;
1919extern unsigned last_glyphless_glyph_face_id;
1920extern int last_glyphless_glyph_merged_face_id;
1921extern Lisp_Object Qglyphless_char;
1922
1923/* Produce glyphs for a glyphless character for iterator IT. 1918/* Produce glyphs for a glyphless character for iterator IT.
1924 IT->glyphless_method specifies which method to use for displaying 1919 IT->glyphless_method specifies which method to use for displaying
1925 the character. See the description of enum 1920 the character. See the description of enum