aboutsummaryrefslogtreecommitdiffstats
path: root/rd/read-jpeg.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-05-08 13:22:33 +0200
committerGerd Hoffmann <kraxel@redhat.com>2019-05-08 13:22:33 +0200
commit8fc776833f83c417d57c43f41479bc034c3863c6 (patch)
tree2fbe3cd51de3947f8fc5144d17b2bd57eccb6271 /rd/read-jpeg.c
parent63b5412f8c410694e8c67452452273ae8a9a6871 (diff)
downloadfbida-8fc776833f83c417d57c43f41479bc034c3863c6.tar.gz
portability fixes, some modernization
Diffstat (limited to 'rd/read-jpeg.c')
-rw-r--r--rd/read-jpeg.c14
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)