1 | /* |
1 | /* |
2 | magick-aux.c - Part of psiconv, a PSION 5 file formats converter |
2 | magick-aux.c - Part of psiconv, a PSION 5 file formats converter |
3 | Copyright (c) 2000-2005 Frodo Looijaard <frodo@frodo.looijaard.name> |
3 | Copyright (c) 2000-2014 Frodo Looijaard <frodo@frodo.looijaard.name> |
4 | |
4 | |
5 | This program is free software; you can redistribute it and/or modify |
5 | This program is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published by |
6 | it under the terms of the GNU General Public License as published by |
7 | the Free Software Foundation; either version 2 of the License, or |
7 | the Free Software Foundation; either version 2 of the License, or |
8 | (at your option) any later version. |
8 | (at your option) any later version. |
… | |
… | |
75 | |
75 | |
76 | #elif IMAGEMAGICK_API == 4 |
76 | #elif IMAGEMAGICK_API == 4 |
77 | |
77 | |
78 | const MagickInfo ** GetMagickFileList(void) |
78 | const MagickInfo ** GetMagickFileList(void) |
79 | { |
79 | { |
80 | MagickInfo **mi; |
80 | const MagickInfo **mi; |
81 | const MagickInfo **copy; |
81 | const MagickInfo **copy; |
82 | unsigned long len; |
82 | unsigned long len; |
83 | int i; |
83 | int i; |
84 | ExceptionInfo exc; |
84 | ExceptionInfo exc; |
85 | GetExceptionInfo(&exc); |
85 | GetExceptionInfo(&exc); |