summaryrefslogtreecommitdiff
path: root/xserver/miext/shadow/shalloc.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2012-06-10 13:21:33 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2012-06-10 13:21:33 +0000
commit171e929a08098b6c844887adc43879c7579dc15f (patch)
tree6b4d2e3bc20dbd4dc9a1f031416e66614c53dd21 /xserver/miext/shadow/shalloc.c
parent68781b09de2c95b87ea898c4ecf3018dfb4460d2 (diff)
Update to xserver 1.12.2. tested by naddy@, krw@, mpi@.
Diffstat (limited to 'xserver/miext/shadow/shalloc.c')
-rw-r--r--xserver/miext/shadow/shalloc.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/xserver/miext/shadow/shalloc.c b/xserver/miext/shadow/shalloc.c
index f57cb5266..e555135b9 100644
--- a/xserver/miext/shadow/shalloc.c
+++ b/xserver/miext/shadow/shalloc.c
@@ -20,7 +20,6 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
@@ -38,13 +37,13 @@
#include "shadow.h"
void *
-shadowAlloc (int width, int height, int bpp)
+shadowAlloc(int width, int height, int bpp)
{
- int stride;
- void *fb;
+ int stride;
+ void *fb;
/* Cant use PixmapBytePad -- the structure is probably not initialized yet */
- stride = BitmapBytePad (width * bpp);
+ stride = BitmapBytePad(width * bpp);
fb = malloc(stride * height);
return fb;
}