diff options
| author | Paul Eggert | 2011-04-12 01:42:29 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-12 01:42:29 -0700 |
| commit | 1675728f009404df6bc79b7e0933bc675afa1be1 (patch) | |
| tree | fb59d49bf354757f72dd2ef06c53882a04fb8257 /src/font.h | |
| parent | e4cebfca13580f80fb0ecee27afb81b55c031535 (diff) | |
| download | emacs-1675728f009404df6bc79b7e0933bc675afa1be1.tar.gz emacs-1675728f009404df6bc79b7e0933bc675afa1be1.zip | |
* 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); | |||
| 821 | #endif /* HAVE_FREETYPE */ | 821 | #endif /* HAVE_FREETYPE */ |
| 822 | #ifdef HAVE_X_WINDOWS | 822 | #ifdef HAVE_X_WINDOWS |
| 823 | extern struct font_driver xfont_driver; | 823 | extern struct font_driver xfont_driver; |
| 824 | extern struct font_driver ftxfont_driver; | ||
| 825 | extern void syms_of_xfont (void); | 824 | extern void syms_of_xfont (void); |
| 826 | extern void syms_of_ftxfont (void); | 825 | extern void syms_of_ftxfont (void); |
| 827 | #ifdef HAVE_XFT | 826 | #ifdef HAVE_XFT |
| 828 | extern struct font_driver xftfont_driver; | 827 | extern struct font_driver xftfont_driver; |
| 829 | extern void syms_of_xftfont (void); | 828 | extern void syms_of_xftfont (void); |
| 830 | #endif /* HAVE_XFT */ | 829 | #elif defined HAVE_FREETYPE |
| 830 | extern struct font_driver ftxfont_driver; | ||
| 831 | #endif | ||
| 831 | #ifdef HAVE_BDFFONT | 832 | #ifdef HAVE_BDFFONT |
| 832 | extern void syms_of_bdffont (void); | 833 | extern void syms_of_bdffont (void); |
| 833 | #endif /* HAVE_BDFFONT */ | 834 | #endif /* HAVE_BDFFONT */ |