]> granicus.if.org Git - nethack/commitdiff
another old-style-definition
authornhmall <nhmall@nethack.org>
Fri, 5 Feb 2021 00:40:38 +0000 (19:40 -0500)
committernhmall <nhmall@nethack.org>
Fri, 5 Feb 2021 00:40:38 +0000 (19:40 -0500)
win/share/bmptiles.c

index 61184f05cc997ef8114ade86ee356d5e4bd0243e..38fab4512fc63d52338b9879b0b9852c11b5714a 100644 (file)
@@ -562,9 +562,7 @@ read_s32(const unsigned char buf[4])
 /* Build a pixel structure, given the mask words in the second header and
  * a packed 16 or 32 bit pixel */
 static struct Pixel
-build_pixel(header, color)
-const struct BitmapInfoHeader *header;
-uint32 color;
+build_pixel(const struct BitmapInfoHeader *header, uint32 color)
 {
     struct Pixel pixel;