Skip to content

Commit

Permalink
Merge pull request #8002 from Yay295/patch-1
Browse files Browse the repository at this point in the history
Use (void) for empty function parameters
  • Loading branch information
hugovk authored Sep 7, 2024
2 parents 6377321 + a6ca45a commit a838da7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libImaging/Access.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ put_pixel_32(Imaging im, int x, int y, const void *color) {
}

void
ImagingAccessInit() {
ImagingAccessInit(void) {
#define ADD(mode_, get_pixel_, put_pixel_) \
{ \
ImagingAccess access = add_item(mode_); \
Expand Down
2 changes: 1 addition & 1 deletion src/libImaging/JpegDecode.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ char *libjpeg_turbo_version = NULL;
#endif

int
ImagingJpegUseJCSExtensions() {
ImagingJpegUseJCSExtensions(void) {
int use_jcs_extensions = 0;
#ifdef JCS_EXTENSIONS
#if defined(LIBJPEG_TURBO_VERSION_NUMBER)
Expand Down

0 comments on commit a838da7

Please sign in to comment.