summaryrefslogtreecommitdiff
path: root/src/CrIFrBuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/CrIFrBuf.c')
-rw-r--r--src/CrIFrBuf.c27
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;