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-png.c | |
parent | 63b5412f8c410694e8c67452452273ae8a9a6871 (diff) | |
download | fbida-8fc776833f83c417d57c43f41479bc034c3863c6.tar.gz |
portability fixes, some modernization
Diffstat (limited to 'rd/read-png.c')
-rw-r--r-- | rd/read-png.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/rd/read-png.c b/rd/read-png.c index f06ed6d..618c6f5 100644 --- a/rd/read-png.c +++ b/rd/read-png.c @@ -150,13 +150,13 @@ png_done(void *data) } static struct ida_loader png_loader = { - magic: "\x89PNG", - moff: 0, - mlen: 4, - name: "libpng", - init: png_init, - read: png_read, - done: png_done, + .magic = "\x89PNG", + .moff = 0, + .mlen = 4, + .name = "libpng", + .init = png_init, + .read = png_read, + .done = png_done, }; static void __init init_rd(void) |