Skip to content

Commit a612275

Browse files
author
Yuuki Harano
committed
make ftfont_driver static.
1 parent 3d39e01 commit a612275

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/font.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,6 @@ extern void ftfont_filter_properties (Lisp_Object, Lisp_Object);
897897
extern void ftfont_text_extents (struct font *, unsigned *, int,
898898
struct font_metrics *);
899899
extern void syms_of_ftfont (void);
900-
extern struct font_driver const ftfont_driver;
901900
#endif /* HAVE_FREETYPE */
902901
#ifdef HAVE_X_WINDOWS
903902
extern struct font_driver const xfont_driver;

src/ftfont.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
4747
#include "ftfont.h"
4848
#include "pdumper.h"
4949

50+
static struct font_driver const ftfont_driver;
51+
5052
/* Flag to tell if FcInit is already called or not. */
5153
static bool fc_initialized;
5254

0 commit comments

Comments
 (0)