Use (void) to indicate no parameters

This commit is contained in:
Andrew Murray 2024-09-07 14:55:45 +10:00 committed by Yay295
parent 0c335d239b
commit a6ca45aea6

View File

@ -185,7 +185,7 @@ put_pixel_32(Imaging im, int x, int y, const void *color) {
} }
void void
ImagingAccessInit() { ImagingAccessInit(void) {
#define ADD(mode_, get_pixel_, put_pixel_) \ #define ADD(mode_, get_pixel_, put_pixel_) \
{ \ { \
ImagingAccess access = add_item(mode_); \ ImagingAccess access = add_item(mode_); \