summaryrefslogtreecommitdiff
path: root/src/macfont.m
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-12-12 14:27:35 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2016-12-12 14:27:35 -0800
commita41ded87b318ce3cbeb0ba3624bcb83ae3b8a437 (patch)
tree02ae5860fd214689f9397c5d4a04dd71b524c3ac /src/macfont.m
parent3c655230d2517d091d6af9835031cbc5d665dccb (diff)
downloademacs-a41ded87b318ce3cbeb0ba3624bcb83ae3b8a437.tar.gz
Use C99 syntax for font drivers
Problem reported by Daniel Colascione in: http://lists.gnu.org/archive/html/emacs-devel/2016-12/msg00515.html * src/ftcrfont.c (ftcrfont_driver): * src/ftfont.c (ftfont_driver): * src/ftxfont.c (ftxfont_driver): * src/macfont.m (macfont_driver): * src/nsfont.m (nsfont_driver): * src/xfont.c (xfont_driver): * src/xftfont.c (xftfont_driver): Use C99 syntax, not the old GNU C syntax.
Diffstat (limited to 'src/macfont.m')
-rw-r--r--src/macfont.m30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/macfont.m b/src/macfont.m
index b2f3dff3097..855b3fe7f7a 100644
--- a/src/macfont.m
+++ b/src/macfont.m
@@ -1663,21 +1663,21 @@ static void macfont_filter_properties (Lisp_Object, Lisp_Object);
static struct font_driver const macfont_driver =
{
- type: LISPSYM_INITIALLY (Qmac_ct),
- get_cache: macfont_get_cache,
- list: macfont_list,
- match: macfont_match,
- list_family: macfont_list_family,
- free_entity: macfont_free_entity,
- open: macfont_open,
- close: macfont_close,
- has_char: macfont_has_char,
- encode_char: macfont_encode_char,
- text_extents: macfont_text_extents,
- draw: macfont_draw,
- shape: macfont_shape,
- get_variation_glyphs: macfont_variation_glyphs,
- filter_properties: macfont_filter_properties,
+ .type = LISPSYM_INITIALLY (Qmac_ct),
+ .get_cache = macfont_get_cache,
+ .list = macfont_list,
+ .match = macfont_match,
+ .list_family = macfont_list_family,
+ .free_entity = macfont_free_entity,
+ .open = macfont_open,
+ .close = macfont_close,
+ .has_char = macfont_has_char,
+ .encode_char = macfont_encode_char,
+ .text_extents = macfont_text_extents,
+ .draw = macfont_draw,
+ .shape = macfont_shape,
+ .get_variation_glyphs = macfont_variation_glyphs,
+ .filter_properties = macfont_filter_properties,
};
static Lisp_Object