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 /op.c | |
parent | 63b5412f8c410694e8c67452452273ae8a9a6871 (diff) | |
download | fbida-8fc776833f83c417d57c43f41479bc034c3863c6.tar.gz |
portability fixes, some modernization
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 56 |
1 files changed, 28 insertions, 28 deletions
@@ -250,44 +250,44 @@ void op_free_done(void *data) { free(data); } /* ----------------------------------------------------------------------- */ struct ida_op desc_flip_vert = { - name: "flip-vert", - init: op_none_init, - work: op_flip_vert, - done: op_none_done, + .name = "flip-vert", + .init = op_none_init, + .work = op_flip_vert, + .done = op_none_done, }; struct ida_op desc_flip_horz = { - name: "flip-horz", - init: op_none_init, - work: op_flip_horz, - done: op_none_done, + .name = "flip-horz", + .init = op_none_init, + .work = op_flip_horz, + .done = op_none_done, }; struct ida_op desc_rotate_cw = { - name: "rotate-cw", - init: op_rotate_init, - work: op_rotate_cw, - done: op_none_done, + .name = "rotate-cw", + .init = op_rotate_init, + .work = op_rotate_cw, + .done = op_none_done, }; struct ida_op desc_rotate_ccw = { - name: "rotate-ccw", - init: op_rotate_init, - work: op_rotate_ccw, - done: op_none_done, + .name = "rotate-ccw", + .init = op_rotate_init, + .work = op_rotate_ccw, + .done = op_none_done, }; struct ida_op desc_invert = { - name: "invert", - init: op_none_init, - work: op_invert, - done: op_none_done, + .name = "invert", + .init = op_none_init, + .work = op_invert, + .done = op_none_done, }; struct ida_op desc_crop = { - name: "crop", - init: op_crop_init, - work: op_crop_work, - done: op_none_done, + .name = "crop", + .init = op_crop_init, + .work = op_crop_work, + .done = op_none_done, }; struct ida_op desc_autocrop = { - name: "autocrop", - init: op_autocrop_init, - work: op_crop_work, - done: op_none_done, + .name = "autocrop", + .init = op_autocrop_init, + .work = op_crop_work, + .done = op_none_done, }; |