diff options
| author | Andreas Schwab | 2008-07-08 11:54:10 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2008-07-08 11:54:10 +0000 |
| commit | 85cf8992283c76c866535e65757a35be00cd244d (patch) | |
| tree | 7718fb571f133badf736ea945a0edbd631ed616c | |
| parent | 4a00783e8e07d7487bce5041d0f9b22247268346 (diff) | |
| download | emacs-85cf8992283c76c866535e65757a35be00cd244d.tar.gz emacs-85cf8992283c76c866535e65757a35be00cd244d.zip | |
* fontset.h: Declare fontset_from_font. Don't declare
new_fontset_from_font and fontset_from_font_name.
* xterm.c: Include "fontset.h".
* Makefile.in (xterm.o): Update dependencies.
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/Makefile.in | 2 | ||||
| -rw-r--r-- | src/fontset.h | 3 | ||||
| -rw-r--r-- | src/xterm.c | 1 |
4 files changed, 10 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e8700d4e049..38875ef3bef 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2008-07-08 Andreas Schwab <schwab@suse.de> | ||
| 2 | |||
| 3 | * fontset.h: Declare fontset_from_font. Don't declare | ||
| 4 | new_fontset_from_font and fontset_from_font_name. | ||
| 5 | * xterm.c: Include "fontset.h". | ||
| 6 | * Makefile.in (xterm.o): Update dependencies. | ||
| 7 | |||
| 1 | 2008-07-08 Glenn Morris <rgm@gnu.org> | 8 | 2008-07-08 Glenn Morris <rgm@gnu.org> |
| 2 | 9 | ||
| 3 | * m/sparc.h: Define __sparc__ rather than sparc. (Bug#507.) | 10 | * m/sparc.h: Define __sparc__ rather than sparc. (Bug#507.) |
diff --git a/src/Makefile.in b/src/Makefile.in index f3afe86e1ec..29a4881d012 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -1183,7 +1183,7 @@ xmenu.o: xmenu.c xterm.h termhooks.h window.h dispextern.h frame.h buffer.h \ | |||
| 1183 | xterm.o: xterm.c xterm.h termhooks.h termopts.h termchar.h window.h buffer.h \ | 1183 | xterm.o: xterm.c xterm.h termhooks.h termopts.h termchar.h window.h buffer.h \ |
| 1184 | dispextern.h frame.h disptab.h blockinput.h atimer.h systime.h syssignal.h \ | 1184 | dispextern.h frame.h disptab.h blockinput.h atimer.h systime.h syssignal.h \ |
| 1185 | keyboard.h emacs-icon.h character.h charset.h ccl.h fontset.h composite.h \ | 1185 | keyboard.h emacs-icon.h character.h charset.h ccl.h fontset.h composite.h \ |
| 1186 | coding.h process.h gtkutil.h font.h $(config_h) | 1186 | coding.h process.h gtkutil.h font.h fontset.h $(config_h) |
| 1187 | xselect.o: xselect.c process.h dispextern.h frame.h xterm.h blockinput.h \ | 1187 | xselect.o: xselect.c process.h dispextern.h frame.h xterm.h blockinput.h \ |
| 1188 | buffer.h atimer.h systime.h termhooks.h $(config_h) | 1188 | buffer.h atimer.h systime.h termhooks.h $(config_h) |
| 1189 | xrdb.o: xrdb.c $(config_h) epaths.h | 1189 | xrdb.o: xrdb.c $(config_h) epaths.h |
diff --git a/src/fontset.h b/src/fontset.h index e3f33ce9ba5..aa13d246446 100644 --- a/src/fontset.h +++ b/src/fontset.h | |||
| @@ -38,7 +38,7 @@ extern int face_suitable_for_char_p P_ ((struct face *, int)); | |||
| 38 | extern int face_for_char P_ ((FRAME_PTR, struct face *, int, | 38 | extern int face_for_char P_ ((FRAME_PTR, struct face *, int, |
| 39 | int, Lisp_Object)); | 39 | int, Lisp_Object)); |
| 40 | extern int make_fontset_for_ascii_face P_ ((FRAME_PTR, int, struct face *)); | 40 | extern int make_fontset_for_ascii_face P_ ((FRAME_PTR, int, struct face *)); |
| 41 | extern int fontset_from_font_name P_ ((Lisp_Object)); | 41 | extern int fontset_from_font P_ ((Lisp_Object)); |
| 42 | extern void set_default_ascii_font P_ ((Lisp_Object)); | 42 | extern void set_default_ascii_font P_ ((Lisp_Object)); |
| 43 | extern int fs_query_fontset P_ ((Lisp_Object, int)); | 43 | extern int fs_query_fontset P_ ((Lisp_Object, int)); |
| 44 | EXFUN (Fquery_fontset, 2); | 44 | EXFUN (Fquery_fontset, 2); |
| @@ -57,7 +57,6 @@ extern int fontset_height P_ ((int)); | |||
| 57 | 57 | ||
| 58 | struct font; | 58 | struct font; |
| 59 | extern int face_for_font P_ ((struct frame *, Lisp_Object, struct face *)); | 59 | extern int face_for_font P_ ((struct frame *, Lisp_Object, struct face *)); |
| 60 | extern int new_fontset_from_font P_ ((Lisp_Object)); | ||
| 61 | 60 | ||
| 62 | #endif /* EMACS_FONTSET_H */ | 61 | #endif /* EMACS_FONTSET_H */ |
| 63 | 62 | ||
diff --git a/src/xterm.c b/src/xterm.c index 9f3ce1a6608..57092c25859 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -84,6 +84,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 84 | #include "atimer.h" | 84 | #include "atimer.h" |
| 85 | #include "keymap.h" | 85 | #include "keymap.h" |
| 86 | #include "font.h" | 86 | #include "font.h" |
| 87 | #include "fontset.h" | ||
| 87 | 88 | ||
| 88 | #ifdef USE_X_TOOLKIT | 89 | #ifdef USE_X_TOOLKIT |
| 89 | #include <X11/Shell.h> | 90 | #include <X11/Shell.h> |