diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-30 15:45:20 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-30 15:45:20 -0200 |
commit | 6697e31fbb616656b7f34515a79454af394b500a (patch) | |
tree | 504d0d5c456226bec6ced89839d94964a728e321 /src/Image.c | |
parent | 41e4e2de4d73d098d332ece0410e9f8fda4fe10d (diff) |
Janitor: ansification, make distcheck, .gitignore
The ansification code is minor edit of the patch (by me) at
https://bugs.freedesktop.org/show_bug.cgi?id=14727
as it would not apply cleanly anymore.
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); |