summaryrefslogtreecommitdiff
path: root/src/font.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-13 16:22:35 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-13 16:22:35 -0700
commit239f9db96059f3f76e4b4a6f31f6eb56f642ea84 (patch)
treed37c48bf372a31f9433c35c6128e9401f5335b53 /src/font.h
parentdfcf35798287d2483c1136d156e0f692ccea3b18 (diff)
downloademacs-239f9db96059f3f76e4b4a6f31f6eb56f642ea84.tar.gz
* 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.h')
-rw-r--r--src/font.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/font.h b/src/font.h
index efcd56b0365..7b43c2f99e7 100644
--- a/src/font.h
+++ b/src/font.h
@@ -779,7 +779,6 @@ extern void font_done_for_face (FRAME_PTR f, struct face *face);
extern Lisp_Object font_open_by_spec (FRAME_PTR f, Lisp_Object spec);
extern Lisp_Object font_open_by_name (FRAME_PTR f, const char *name);
-extern void font_close_object (FRAME_PTR f, Lisp_Object font_object);
extern Lisp_Object font_intern_prop (const char *str, int len, int force_symbol);
extern void font_update_sort_order (int *order);