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/CrIFrBuf.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/CrIFrBuf.c')
-rw-r--r-- | src/CrIFrBuf.c | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/src/CrIFrBuf.c b/src/CrIFrBuf.c index d98e658..b6b12ca 100644 --- a/src/CrIFrBuf.c +++ b/src/CrIFrBuf.c @@ -40,13 +40,12 @@ LFUNC(OpenBuffer, void, (char *buffer, xpmData *mdata)); int -XpmCreateImageFromBuffer(display, buffer, image_return, - shapeimage_return, attributes) - Display *display; - char *buffer; - XImage **image_return; - XImage **shapeimage_return; - XpmAttributes *attributes; +XpmCreateImageFromBuffer( + Display *display, + char *buffer, + XImage **image_return, + XImage **shapeimage_return, + XpmAttributes *attributes) { XpmImage image; XpmInfo info; @@ -83,10 +82,10 @@ XpmCreateImageFromBuffer(display, buffer, image_return, } int -XpmCreateXpmImageFromBuffer(buffer, image, info) - char *buffer; - XpmImage *image; - XpmInfo *info; +XpmCreateXpmImageFromBuffer( + char *buffer, + XpmImage *image, + XpmInfo *info) { xpmData mdata; int ErrorStatus; @@ -108,9 +107,9 @@ XpmCreateXpmImageFromBuffer(buffer, image, info) * open the given buffer to be read or written as an xpmData which is returned */ static void -OpenBuffer(buffer, mdata) - char *buffer; - xpmData *mdata; +OpenBuffer( + char *buffer, + xpmData *mdata) { mdata->type = XPMBUFFER; mdata->cptr = buffer; |