diff options
| author | Paul Eggert | 2016-12-12 14:27:35 -0800 |
|---|---|---|
| committer | Paul Eggert | 2016-12-12 14:27:35 -0800 |
| commit | a41ded87b318ce3cbeb0ba3624bcb83ae3b8a437 (patch) | |
| tree | 02ae5860fd214689f9397c5d4a04dd71b524c3ac /src/macfont.m | |
| parent | 3c655230d2517d091d6af9835031cbc5d665dccb (diff) | |
| download | emacs-a41ded87b318ce3cbeb0ba3624bcb83ae3b8a437.tar.gz emacs-a41ded87b318ce3cbeb0ba3624bcb83ae3b8a437.zip | |
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.m | 30 |
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); | |||
| 1663 | 1663 | ||
| 1664 | static struct font_driver const macfont_driver = | 1664 | static struct font_driver const macfont_driver = |
| 1665 | { | 1665 | { |
| 1666 | type: LISPSYM_INITIALLY (Qmac_ct), | 1666 | .type = LISPSYM_INITIALLY (Qmac_ct), |
| 1667 | get_cache: macfont_get_cache, | 1667 | .get_cache = macfont_get_cache, |
| 1668 | list: macfont_list, | 1668 | .list = macfont_list, |
| 1669 | match: macfont_match, | 1669 | .match = macfont_match, |
| 1670 | list_family: macfont_list_family, | 1670 | .list_family = macfont_list_family, |
| 1671 | free_entity: macfont_free_entity, | 1671 | .free_entity = macfont_free_entity, |
| 1672 | open: macfont_open, | 1672 | .open = macfont_open, |
| 1673 | close: macfont_close, | 1673 | .close = macfont_close, |
| 1674 | has_char: macfont_has_char, | 1674 | .has_char = macfont_has_char, |
| 1675 | encode_char: macfont_encode_char, | 1675 | .encode_char = macfont_encode_char, |
| 1676 | text_extents: macfont_text_extents, | 1676 | .text_extents = macfont_text_extents, |
| 1677 | draw: macfont_draw, | 1677 | .draw = macfont_draw, |
| 1678 | shape: macfont_shape, | 1678 | .shape = macfont_shape, |
| 1679 | get_variation_glyphs: macfont_variation_glyphs, | 1679 | .get_variation_glyphs = macfont_variation_glyphs, |
| 1680 | filter_properties: macfont_filter_properties, | 1680 | .filter_properties = macfont_filter_properties, |
| 1681 | }; | 1681 | }; |
| 1682 | 1682 | ||
| 1683 | static Lisp_Object | 1683 | static Lisp_Object |