diff options
| author | Dan Nicolaescu | 2010-11-23 10:56:28 -0800 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-11-23 10:56:28 -0800 |
| commit | b932f8b17e8f5309710ccf14d1264343e90c805c (patch) | |
| tree | 6ae9a4e13f90fdd0f8808508e4315fc9a75c6bcf /src | |
| parent | 42c8bc9b87388258d1de6a714b051330570f0ff4 (diff) | |
| download | emacs-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/ChangeLog | 7 | ||||
| -rw-r--r-- | src/lisp.h | 4 | ||||
| -rw-r--r-- | src/term.c | 13 |
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 @@ | |||
| 1 | 2010-11-23 Dan Nicolaescu <dann@ics.uci.edu> | 1 | 2010-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; | |||
| 2674 | extern Lisp_Object Qspace, Qcenter, QCalign_to; | 2674 | extern Lisp_Object Qspace, Qcenter, QCalign_to; |
| 2675 | extern Lisp_Object Qbar, Qhbar, Qbox, Qhollow; | 2675 | extern Lisp_Object Qbar, Qhbar, Qbox, Qhollow; |
| 2676 | extern Lisp_Object Qleft_margin, Qright_margin; | 2676 | extern Lisp_Object Qleft_margin, Qright_margin; |
| 2677 | extern Lisp_Object Qglyphless_char; | ||
| 2677 | extern Lisp_Object Vmessage_log_max; | 2678 | extern Lisp_Object Vmessage_log_max; |
| 2678 | extern Lisp_Object QCdata, QCfile; | 2679 | extern Lisp_Object QCdata, QCfile; |
| 2679 | extern Lisp_Object QCmap; | 2680 | extern Lisp_Object QCmap; |
| 2680 | extern Lisp_Object Qrisky_local_variable; | 2681 | extern Lisp_Object Qrisky_local_variable; |
| 2681 | extern Lisp_Object Vinhibit_redisplay; | 2682 | extern Lisp_Object Vinhibit_redisplay; |
| 2683 | extern struct frame *last_glyphless_glyph_frame; | ||
| 2684 | extern unsigned last_glyphless_glyph_face_id; | ||
| 2685 | extern int last_glyphless_glyph_merged_face_id; | ||
| 2682 | extern int message_enable_multibyte; | 2686 | extern int message_enable_multibyte; |
| 2683 | extern int noninteractive_need_newline; | 2687 | extern int noninteractive_need_newline; |
| 2684 | extern EMACS_INT scroll_margin; | 2688 | extern 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 *); | |||
| 66 | extern int tgetflag (char *id); | 66 | extern int tgetflag (char *id); |
| 67 | extern int tgetnum (char *id); | 67 | extern int tgetnum (char *id); |
| 68 | 68 | ||
| 69 | char *tparam (char *, char *, int, int, ...); | ||
| 70 | |||
| 71 | extern 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 | ||
| 177 | static int system_uses_terminfo; | 181 | static int system_uses_terminfo; |
| 178 | 182 | ||
| 179 | char *tparam (char *, char *, int, int, ...); | ||
| 180 | |||
| 181 | extern 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 */ | ||
| 1918 | extern struct frame *last_glyphless_glyph_frame; | ||
| 1919 | extern unsigned last_glyphless_glyph_face_id; | ||
| 1920 | extern int last_glyphless_glyph_merged_face_id; | ||
| 1921 | extern 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 |