diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-05-08 13:22:33 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-05-08 13:22:33 +0200 |
commit | 8fc776833f83c417d57c43f41479bc034c3863c6 (patch) | |
tree | 2fbe3cd51de3947f8fc5144d17b2bd57eccb6271 /rd/read-jpeg.c | |
parent | 63b5412f8c410694e8c67452452273ae8a9a6871 (diff) | |
download | fbida-8fc776833f83c417d57c43f41479bc034c3863c6.tar.gz |
portability fixes, some modernization
Diffstat (limited to 'rd/read-jpeg.c')
-rw-r--r-- | rd/read-jpeg.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/rd/read-jpeg.c b/rd/read-jpeg.c index b6b13f6..b42b574 100644 --- a/rd/read-jpeg.c +++ b/rd/read-jpeg.c @@ -194,13 +194,13 @@ jpeg_done(void *data) } struct ida_loader jpeg_loader = { - magic: "\xff\xd8", - moff: 0, - mlen: 2, - name: "libjpeg", - init: jpeg_init, - read: jpeg_read, - done: jpeg_done, + .magic = "\xff\xd8", + .moff = 0, + .mlen = 2, + .name = "libjpeg", + .init = jpeg_init, + .read = jpeg_read, + .done = jpeg_done, }; static void __init init_rd(void) |