From 6697e31fbb616656b7f34515a79454af394b500a Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Fri, 30 Jan 2009 15:45:20 -0200 Subject: 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. --- src/Image.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/Image.c') 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); -- cgit v1.2.3