diff options
Diffstat (limited to 'src/Image.c')
-rw-r--r-- | src/Image.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Image.c b/src/Image.c index 2179d4e..e0223cc 100644 --- a/src/Image.c +++ b/src/Image.c @@ -41,8 +41,7 @@ * Init returned data to free safely later on */ void -xpmInitXpmImage(image) - XpmImage *image; +xpmInitXpmImage(XpmImage *image) { image->ncolors = 0; image->colorTable = NULL; @@ -53,8 +52,7 @@ xpmInitXpmImage(image) * Free the XpmImage data which have been allocated */ void -XpmFreeXpmImage(image) - XpmImage *image; +XpmFreeXpmImage(XpmImage *image) { if (image->colorTable) xpmFreeColorTable(image->colorTable, image->ncolors); |