diff options
| author | Paul Eggert | 2011-04-13 16:22:35 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-13 16:22:35 -0700 |
| commit | 239f9db96059f3f76e4b4a6f31f6eb56f642ea84 (patch) | |
| tree | d37c48bf372a31f9433c35c6128e9401f5335b53 /src/font.c | |
| parent | dfcf35798287d2483c1136d156e0f692ccea3b18 (diff) | |
| download | emacs-239f9db96059f3f76e4b4a6f31f6eb56f642ea84.tar.gz emacs-239f9db96059f3f76e4b4a6f31f6eb56f642ea84.zip | |
* font.c, fontset.c: Make symbols static if they're not exported.
* dispextern.h (FACE_SUITABLE_FOR_ASCII_CHAR_P): New macro.
(FACE_SUITABLE_FOR_CHAR_P): Use it.
* font.c (font_close_object): Now static.
* font.h (font_close_object): Remove.
* fontset.c (FONTSET_OBJLIST): Remove.
(free_realized_fontset) #if-0 the body, which does nothing.
(face_suitable_for_char_p): #if-0, as it's never called.
* fontset.h (face_suitable_for_char_p): Remove decl.
* xfaces.c (face_at_string_position): Use
FACE_SUITABLE_FOR_ASCII_CHAR_P, not FACE_SUITABLE_FOR_CHAR_P,
since 0 is always ASCII.
Diffstat (limited to 'src/font.c')
| -rw-r--r-- | src/font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/font.c b/src/font.c index ace1b8442d4..6f27e3b9c67 100644 --- a/src/font.c +++ b/src/font.c | |||
| @@ -2872,7 +2872,7 @@ font_open_entity (FRAME_PTR f, Lisp_Object entity, int pixel_size) | |||
| 2872 | 2872 | ||
| 2873 | /* Close FONT_OBJECT that is opened on frame F. */ | 2873 | /* Close FONT_OBJECT that is opened on frame F. */ |
| 2874 | 2874 | ||
| 2875 | void | 2875 | static void |
| 2876 | font_close_object (FRAME_PTR f, Lisp_Object font_object) | 2876 | font_close_object (FRAME_PTR f, Lisp_Object font_object) |
| 2877 | { | 2877 | { |
| 2878 | struct font *font = XFONT_OBJECT (font_object); | 2878 | struct font *font = XFONT_OBJECT (font_object); |