aboutsummaryrefslogtreecommitdiffstats
path: root/src/xfont.c
diff options
context:
space:
mode:
authorPaul Eggert2016-12-12 14:27:35 -0800
committerPaul Eggert2016-12-12 14:27:35 -0800
commita41ded87b318ce3cbeb0ba3624bcb83ae3b8a437 (patch)
tree02ae5860fd214689f9397c5d4a04dd71b524c3ac /src/xfont.c
parent3c655230d2517d091d6af9835031cbc5d665dccb (diff)
downloademacs-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/xfont.c')
-rw-r--r--src/xfont.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/xfont.c b/src/xfont.c
index 5999f6715cc..09ca6282c7f 100644
--- a/src/xfont.c
+++ b/src/xfont.c
@@ -1079,19 +1079,19 @@ xfont_check (struct frame *f, struct font *font)
1079 1079
1080struct font_driver const xfont_driver = 1080struct font_driver const xfont_driver =
1081 { 1081 {
1082 type: LISPSYM_INITIALLY (Qx), 1082 .type = LISPSYM_INITIALLY (Qx),
1083 get_cache: xfont_get_cache, 1083 .get_cache = xfont_get_cache,
1084 list: xfont_list, 1084 .list = xfont_list,
1085 match: xfont_match, 1085 .match = xfont_match,
1086 list_family: xfont_list_family, 1086 .list_family = xfont_list_family,
1087 open: xfont_open, 1087 .open = xfont_open,
1088 close: xfont_close, 1088 .close = xfont_close,
1089 prepare_face: xfont_prepare_face, 1089 .prepare_face = xfont_prepare_face,
1090 has_char: xfont_has_char, 1090 .has_char = xfont_has_char,
1091 encode_char: xfont_encode_char, 1091 .encode_char = xfont_encode_char,
1092 text_extents: xfont_text_extents, 1092 .text_extents = xfont_text_extents,
1093 draw: xfont_draw, 1093 .draw = xfont_draw,
1094 check: xfont_check, 1094 .check = xfont_check,
1095 }; 1095 };
1096 1096
1097void 1097void