diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-12 01:42:29 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-12 01:42:29 -0700 |
commit | 1675728f009404df6bc79b7e0933bc675afa1be1 (patch) | |
tree | fb59d49bf354757f72dd2ef06c53882a04fb8257 /src/font.h | |
parent | e4cebfca13580f80fb0ecee27afb81b55c031535 (diff) | |
download | emacs-1675728f009404df6bc79b7e0933bc675afa1be1.tar.gz |
* ftxfont.c: Make symbols static if they're not exported.
(ftxfont_driver): Export only if !defined HAVE_XFT && def8ined
HAVE_FREETYPE.
* font.h (ftxfont_driver): Likewise.
Diffstat (limited to 'src/font.h')
-rw-r--r-- | src/font.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/font.h b/src/font.h index ead5223a6cb..efcd56b0365 100644 --- a/src/font.h +++ b/src/font.h @@ -821,13 +821,14 @@ extern void syms_of_ftfont (void); #endif /* HAVE_FREETYPE */ #ifdef HAVE_X_WINDOWS extern struct font_driver xfont_driver; -extern struct font_driver ftxfont_driver; extern void syms_of_xfont (void); extern void syms_of_ftxfont (void); #ifdef HAVE_XFT extern struct font_driver xftfont_driver; extern void syms_of_xftfont (void); -#endif /* HAVE_XFT */ +#elif defined HAVE_FREETYPE +extern struct font_driver ftxfont_driver; +#endif #ifdef HAVE_BDFFONT extern void syms_of_bdffont (void); #endif /* HAVE_BDFFONT */ |